Stored Procedure issue
Hi Pituach,Below is the Table structureTbl_ProductCreate table Tbl_Product ( Product varchar(50) NULL, Code Varchar (50) NULL )Insert into Tbl_Product values('PEN','A') Insert into Tbl_Product...
View Articlecopy agent jobs, users and logins from one instance to another
Hi, Can we copy agent jobs, users and log in that are already created from one instance to another, before we restore the databases?? The SQL version that I am using is 2008.
View ArticleSQL Gallery Item VM - Cannot log into SQL server created with VM
Hi All,I am having an issue when I will spin up a SQL VM, under the gallery item SQL Web. Once I log into the VM after it is created, I go to the SQL Server Management Studio and try to log into the...
View ArticleCalculate total from a Union query
HiI want to UNION 3 query and need to create a total column. Below My tableID Date NoofVisit1 4/21/2014 11 4/22/2014 11 4/23/2014 11 4/24/2014 1Another queryID...
View ArticleLicensing For SQL Cluster
Hi,I would like to setup a SQL server failover Cluster as described as URL below.http://msdn.microsoft.com/en-us/library/hh231721.aspxUnderstand that there will be 2 servers and shared storage are...
View ArticleCopy SQL database tables to another SQL server
I am all new to SQL Server, and I am struggling to find a way to copy some tables (not all) from one database to another (on different SQL Server).I’ve searched for ‘copy’ option in SSMS itself, but...
View Articlewhat are the Consistency errors
Hiwhat are the Consistency errors and how it happened for a databaseadil
View ArticleLog files are bigger in size
Hi,My Log files has grown very bigger in size..How do I make the log files smaller in size without losing any data??Please Help...Regards,Kunjay Shah
View Articledifference between sql server 2005,2008, 2008r2 and 2012 in installation?
Hi What are the difference in installation of 2005, 2008 and 2012 and what are the features are added in installation?Thank you
View ArticleHow to write the query using pivot table?
Hi,I am using the below query using pivot table. i have year column and employee id column in one tableSelect...
View ArticleReplace apostrophy issue
So some wise guy decided to enter in the string " 'NULL' " if a field was blank. I had converted a DB from Access into SQl and am discovering some annoying issues. This is one of them. I wanted to...
View ArticleWhy the extra constraints?
My Files table has a one-column primary key named PK_Files, clustered. When I run a fragmentation query I get results like this:...
View ArticleCorrect installation order for SQL Server 2012 and Visual Studio 2012
What is the correct installation order for SQL Server 2012 Enterprise and Visual Studio 2012 Ultimate?I have read so many conflicting responses online and would appreciate if someone could clarify? Do...
View ArticleWriting Queries
Is there a book online or reference guide of the language used in writing queries in Microsoft SQL Server Management Studio?
View ArticleThings to consider while Creating Indexes in the tables
Hi All,We have some application slow issues becasue of the tables which it is calling are Heap. There are Primary keys created on few tables though. I have to think and design the indexing on those...
View ArticleMaintenance plan
Hi gurus. as you can tell from my previous post, I am very new to sql, so take it easy on me.I am trying to get ahead and create a maintenance plan for on of my database, so I would like to know what...
View ArticleSQCRS_Exec: State:42000 Error:[Microsoft][ODBC SQL Server Driver][SQL...
I keep getting this error even though I have done all the suggestions. This was a restored database everything worked well for 2 days and now i am getting this error. I have autogrowth on and have...
View Article"Network-related or instance specific error", Works OK for Administrator
I've been handed a legacy .Net Windows application that was previously used on Windows XP, and asked to debug a few problems encountered on Windows 7 clients. The original developers are all gone....
View ArticleI can not connect to local SQL2008 server locally by sqlcmd.
I use win2008R2 and SQL2008R2.I can not connect to local SQL2008 server locally by sqlcmd -E -S localhost\MSSQLSERVER.The result was HResult 0x35.I saw the link below and made sure that instance name...
View ArticleNEEDED: More SQL Server Answerers
We need more answerers in this forum! The basic idea is that if our answers get marked, then we know which threads to focus on (no questions left behind), and the people who answer the questions can at...
View Article