Viewing 15 posts - 166 through 180 (of 489 total)
I may be wrong as I can't see your data, but it looks like this portion of your code always returns one row:
If @RId is not null and @ADt...
December 13, 2011 at 5:56 pm
SKYBVI (11/17/2011)
@leo-2 & markThe script provided by you not working.
Can you confirm it is working on your side?
Regards,
SKYBVI
This only works on SQL 2005 up. I've tested it and I know...
November 17, 2011 at 4:42 pm
The OR line has an extra parameter. Note the extra ,1 in the brackets.
Leo
November 17, 2011 at 1:03 pm
You need to use the PWDCOMPARE function:
Reat this article: http://msdn.microsoft.com/en-us/library/dd822792.aspx
Use it like this,
SELECT name FROM sys.sql_logins
WHERE PWDCOMPARE('', password_hash) = 1
OR PWDCOMPARE('', password_hash, 1) = 1 ;
Cheers
Leo
November 15, 2011 at 5:58 pm
Consider just adding another file on a new drive and letting the data flow over into that. Then restrict growth on the original .mdf to it's current size.
Another option is...
October 12, 2011 at 4:40 pm
The problem has been resolve. There was a SQL Monitoring System patch release that changed the settings.
Cheers
Leo
September 15, 2011 at 5:36 pm
If these aren't the defaults, then I suspect they may be maximums, particulalry the 250000 value. The strange thing is I have another client and every one of their servers...
September 15, 2011 at 2:52 pm
This will give you a script you can run against each database. It will return you the min date as the first column and the table and column names as...
September 15, 2011 at 2:33 pm
Consider using BCP out to create a file on file server that all the other instances can see, then use BCP in from each of the instances that need the...
September 14, 2011 at 7:41 pm
This will list all the jobs and their databases assuming the developer was disiplined enough to set the correct database on each job step, and didn't use the database name...
September 14, 2011 at 2:36 pm
I've also got the attached document. I set it up about 2 years ago, but I can't imagine it's changed much.
Cheers
Leo
September 8, 2011 at 3:44 pm
I have this in my notes
EXEC master.dbo.xp_backup_database
@database = 'MyDB'
, @filename = '\\MyServer\g$\backup\daily\MyDB.bkl'
AND
EXEC master.dbo.xp_restore_database
@database = 'MyDB',
@filename = '\\MyServer\g$\backup\daily\MyDB.bkl',
@with = 'move "MyDB_data" to "g:\data\MyDB.mdf"',
@with =...
September 8, 2011 at 3:34 pm
No, it doesn't delete the old folder. It just creates it if it doesn't exist.
But you can always do a test backup, then a second backup and see what happens.
Cheers
Leo
September 6, 2011 at 4:17 pm
Ignacio A. Salom Rangel (9/1/2011)
How many SQL Server instances you have on the cluster?
It's a single instance, Active/Passive cluster
Leo
September 1, 2011 at 4:41 pm
SQLRNNR (9/1/2011)
Looks like just the tools upgraded and not the database engine.
More likely the other way around since sqlservr.exe version shows 4035.
Leo
September 1, 2011 at 3:48 pm
Viewing 15 posts - 166 through 180 (of 489 total)