August SQL Server Guru - Festival of the Awesome SQL Server
It's here at last!The August round of the TechNet Technical Guru Competition!The quality and quantity of entries has been beyond our wildest expectations lately, with epic posts and useful snippets...
View ArticleIn sql server 2012 or 2014 which one is best for production enviornment
Dear All,right now we are using sql server 2008 r2 we want to upgrade our production servers to latest versions.i wnat to know which one is best in sql server 2012 & 2014.Thanks in Advance!!!
View ArticleSQL Server Logs
Hi,I am getting an errors in SQL Server Logs.Its eating up all my space from C: Drive.now it says 0 bytes left.What could be an issue???Please help. its urgent.Regards, Kunjay Shah
View Articlecannot find database login fail.
I had to database one on my local machine (LM) and one on the network machine (NM).NM had a website where users and had to login to access the data using SQL authentication.LM uses windows...
View ArticleMS SQL link being reset, Please help!
Hi, I am beginning to feel lost and I need some help because I need to fix this problem I've been having at work. Basically, I have been having issues with my network drives, seems like after a...
View Articlesqlcmd -L
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow...
View ArticleDisplaying the sizes of every table in a database
Hello All,I need to get the table sizes for each and every table in a database.I would have checked it manually but there are many number of tables.I am using SQL Server 2008 R2.Thanks and Regards,...
View Articleregarding sqlserver
Hi, I have a table with identity column have 100 rowsin that five rows are deletedhow can i find which rows are deleted
View Articleregarding sqlserver
Hi, I have 10 tables in a database and having indexeshow can i drop all indexs in database
View ArticleReseting Auto-Increment
Let's say I have already a table with PRODUCT_ID field as auto increment and primary key:PRODUCT_IDPRODUCT 1ball 2car 4pen 5ruller 10rubberNow without deleting my rows, how can I reset my PRODUCT_ID...
View Articleimportance of OUTPUT in Stored procedure
can anyone tell me the importance of OUTPUT parameter in stored procedure.and even call our difference between return and OUTPUT in SP.Thanks
View Articleback up & restore
Hi,I am trying to restore the same .mdf and .ldf files into the newly created database.But its giving me an error that its already in use and I cannot complete my task.Is it possible to do the same??...
View ArticleUnable to uninstall sql server 2012 from Windows 7(ultimate) 64-bit SP1 version.
I am trying to install sql sever 2012 on my m/c but it's giving me error after partial installation. Now I have successfully installed Sql Server 2008 R2 on my machine but when I am trying to uninstall...
View ArticleMicrosoft SQL Server 2008 R2 SP2 - Express Edition
Hi,I am not able to install Microsoft SQL Server 2008 R2 SP2 - Express Edition on my Windows 8.1 Single Language OS.I get the following error."Your SQL Server 2008 R2 installation completed with...
View ArticleDuration of restore time.
Hi All,How to find out the "how much time my database is taking to restore" as i could see my database is restoring from Friday.In short "How to find since how long my database is taking to...
View ArticleConversion failed when converting the varchar
This line returns the above error. The value in the database is an in, but I am putting it into a text label, (hours), so why does it fail? The value of multi (1 or 0) determines whether you divide...
View ArticleHow to run queries on 47 SQL Servers
I have to run following queries on 47 SQL Servers, how can I run them on so many servers?Thank you.=========================================================================Courtesy of Ashwin...
View ArticleHow to get columns which have values greater than 0
Dear all,I have following output in sql server But i only want the columns which has data > 0. as i m using these columns as aliases e.g. SUM(CASE SizeBreakupDetail.Size WHEN 'XS' THEN...
View ArticleSet out of range value to a time datatype in sql server 2008
Hi,I have a variable set to time datatype in SQL server 2008. I need to set a value more than 24 hrs to that. Is there any way? I get an error like Conversion failed when converting date and/or time...
View Article