Viewing 15 posts - 76 through 90 (of 1,538 total)
craig-962225 (8/17/2011)
September 10, 2011 at 4:51 pm
only4mithunc (9/7/2011)
Also is how can we check the space used by a temp table in temp db?
You can check the space used by the session that created the tempdb by...
September 10, 2011 at 4:47 pm
jess. (9/10/2011)
ex:
...where
pi.pay_id = lpa.pay_id and
pi.business_date between '2011-08-14 00:00:00.000' and '2011-08-20 00:00:00.000'
and lpa.name != 'Sched Vac%'
and lpa.name != 'BPay%'
and lpa.name != 'Vacances%'
and lpa.name !=...
September 10, 2011 at 1:21 pm
query sysjobschedules in msdb database.
September 9, 2011 at 4:08 am
In fact i shud write the names too 🙂
Glenn Berry i remember.. but hard to find actual owners for all queries 🙁
September 8, 2011 at 10:53 am
Ninja's_RGR'us (9/8/2011)
I did and now I don't know where I got it from :-D.
I'll write your name at the top of the notepad file;-)
I have done this only one time...
September 8, 2011 at 10:40 am
GilaMonster (9/8/2011)
ps. (9/8/2011)
GilaMonster (9/8/2011)
Restoring over an existing database that is in use? If so, the restore can't even start until exclusive access is obtained on the DB.
SQL throws error message...
September 8, 2011 at 10:38 am
Thanks for the script Remi. I had written one but this is better. Copied and saved for future use 😉
September 8, 2011 at 10:35 am
GilaMonster (9/8/2011)
Restoring over an existing database that is in use? If so, the restore can't even start until exclusive access is obtained on the DB.
SQL throws error message for the...
September 8, 2011 at 10:27 am
how are u measuring progress? hv you used stats clause in restore? or are you using dmvs?
September 8, 2011 at 9:59 am
we've seen orphaned users which are actually windows logins.
sp_help_users_login 'report' doesnt list orphaned windows logins.
you'll hv to write a script to match SIDs bettween database_principals and server_principals.
September 8, 2011 at 7:36 am
you can create a custom script in vbscript or other scripting language to transfer the files. Sort the files based on modified timestamp so that oldest file is copied first....
July 27, 2011 at 5:44 am
You can also use sys.dm_db_session_space_usage DMV to find out which session is using/has used tempdb including IO done in tempdb.
July 27, 2011 at 5:40 am
Viewing 15 posts - 76 through 90 (of 1,538 total)