Quantcast
Channel: Getting started with SQL Server forum
Browsing all 9243 articles
Browse latest View live

last backup and backup location query

Are there any useful queries that will lack last backup information for all databases on an instance, and include a field which shows where the backup was written to (i.e. UNC path).

View Article


Can not find SQL Server 2014 docuementation for environment behind a firewall

For SQL Server 2012 there was a possibility to download the complete product-documentaion as an iso-file for installation on computers located behind a firewall....

View Article


How do I execute a PowerShell Script

I've googled this, and found arguments as to "why would you do that, blah blah blah"So please don't ask me why; this is just the way I was told to do it until we can get our SQL DB Mail working. Our...

View Article

detach, move, attach again

I created a db in ssms; I detached it and moved it into a subdirectory of a vb app. Now sql server says the database does not exist. If I recreate the database in smss, I can run an INSERT INTO using...

View Article

Sql user rights to deploy LightSwitch Application

Hello,We need to deploy Lightswitch appplication using SQL server 2008, wich rights / roles necessary to assign to this DB user without using "sa" account.Regards

View Article


how to correctly work with two (or more) databases?

Does anybody know how to work with two (or more) databases in SQL Server 2005; or where that information can be obtained? I searched online, in BOL and asked in this forum but with no...

View Article

Calendar in SQl Server 2008

Hi , I want to print a calendar in SQL Server 2008 based on the Month entered. I should not use date functions, how can i get a calendar without using date functions?Please help me with the code.Thanks

View Article

SQL Server management studio express basics

1) Can you use SQL Server Management Studio express to connect remotely to enterprise editions of MSSQL? And execute queries about the databases held within?2) Does the version of sql server management...

View Article


list of logins sql 2000 - 2008

can anyone let me know which table in sql 2000, 2005 and 2008 lists all server level logins in a sql instance? Is it the same view/table per version (i.e. 2000--2008)?

View Article


sql instance error

I always receive this exception when I create my database to connect Northwind using sql server(A network-related or instance-specific error occurred while establishing a connection to SQL Server. The...

View Article

How to find instance name

Hi  I just start to learn SQL server now. I am trying to migrate data from oracle to SQL server 2005 using SQL server migrant assistant for Oracle.  But I don't know how to fiill this connection...

View Article

How can I include if statements in this code?

selectSiteID,Name,ProgramID,POSSession,POSSessSummDate,PMealsSumm,RMealsSumm,FMealsSumm,FreeCount,             ReducedCount,PaidCount,ErrorCode='Claim Exceeds Eligibility',ReportName='Edit...

View Article

SQL Pivot??

I am not sure I want yto do pivot so looking for some other option to change rows to column. So I have ,R(M)           Measure           Metrc       MEtrcDesc2                 $...

View Article


OLE DB provider cannot be used for distributed queries because the provider...

Hi I am trying to insert rows from MS Access 97 into SQL Server 2008 R2.  My environment is; Windows 7 (64bit)  Microsoft SQL Server 2008  MS Access 97, Office 2010 Home and Business (no Access) , MS...

View Article

Version Control

I have a database where every morning new data's are fed. There are several imports such a REcon,Recon Target,Bkgs etc.I need to create a version control such as everyday when new data are feed in than...

View Article


Where is the developer version of SQL 2012

Hi, This seems to have been asked a lot but I can't find a definitive answer.  I purchased a copy of SQL2008R2 (Developer) from Amazon a few years ago and I would like to upgrade it to 2012.  Looking...

View Article

using write queries to a table from two Different application

Hi All,sorry to ask you this basic question. i am a newbiehow Sql server will work if we try to delete or modify records from two different applications at same time. lets say, there is 3 members team,...

View Article


Changing subscriber hostename block the transactional replication

Hello All,we have sql server transactional replication is already installed, we need to change the subscriber hostname; what should be the necessary procedure.Regards

View Article

Moving database from one drive to another on same server

I am new to sql server world as I am a controls engineer who is being asked to manage an asset management system at our facility. We have a system that uses SQL 2005 Express. My database is on drive C,...

View Article

Activity monitor unable to execute queries againest the server?

2012 SQL Serevr SSMS Activity monitor unable to execute queries againest the server?any ideas???ebro

View Article
Browsing all 9243 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>