Viewing 15 posts - 16 through 30 (of 76 total)
Okay, that resolved that error, thank you. I am still getting the following error"
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '@DBName'.
Thank you,
David
November 10, 2016 at 11:36 am
This issue has been resolved. It turns out all I needed to do was grant access to the Catalog schema.
August 13, 2016 at 7:19 am
The merge would be based on a single unique id. I am deleting millions of records from a table that has 150+ million records in it. This will...
November 11, 2015 at 9:40 am
Thank you for these great solutions.
David
March 10, 2015 at 8:21 am
Sachin, this worked very nicely. Thank you for this great solution.
David
June 19, 2014 at 9:46 am
I have considered that. I will try it. Thank you!
June 19, 2014 at 9:37 am
I had the columns named incorrectly. Now I get me result set back, but I need to change limit_id_1 ... limit_id_9 to another value based on a case statement....
June 19, 2014 at 9:15 am
Sachin, thank you for you solution. I am modifying it to use joins from several tables instead of a single table as in the initial illustration. Here is...
June 19, 2014 at 6:33 am
Sorry, I should have stated that they will not always be the same. Thank you.
June 19, 2014 at 2:50 am
This is a basic helpful script. I just added comma formatting to make it easier to read. Thank you.
SELECT
Name
, Filename
, convert(varchar, cast(convert(decimal(12,2),round(size/128.000,2)) as money), 1) as FileSizeMB
, convert(varchar,...
March 3, 2014 at 7:22 am
That is a great point! I have the following similar version for those interested.
USE [master]
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sp_whom1]') AND type in (N'P',...
January 23, 2014 at 9:51 am
This script is used for tracking blocking issues or just monitoring sessions on any database server.
Cheers
January 23, 2014 at 8:26 am
Viewing 15 posts - 16 through 30 (of 76 total)