Viewing 15 posts - 166 through 180 (of 492 total)
Tara-1044200 (1/5/2012)
here is how i laied out.tempdev1D:\DATA\tempdb.mdfPRIMARY1073741824 KB1073741824 KB10%data only
templog2D:\LOG\templog.ldfNULL512 KBUnlimited10%log only
tempdb23F:\DATA\tempdb2.ndfPRIMARY3072 KBUnlimited1024 KBdata only
tempdb34E:\DATA\tempdb3.ndfPRIMARY3072 KBUnlimited1024 KBdata only
and the D drive also has 450gb od space for OS paging
If...
January 5, 2012 at 3:46 pm
I've worked with this sort of scenario before and it can be worth while setting this up.
In the event of a planned failover, e.g. for maintenance, where you need to...
January 5, 2012 at 3:26 pm
Also, it is commonly believed that one can't create an index on a table variable, however, this can be achieved by declaring a primary key like in the example below....
December 14, 2011 at 3:39 pm
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
Viewing 15 posts - 166 through 180 (of 492 total)