Viewing 15 posts - 136 through 150 (of 179 total)
In 80 compatibility when you have alias for derived column that is same as column name, the prefix is ignored in the order by statement and the order is done...
March 4, 2009 at 5:58 am
I think it works... seems OK to me. Yes showcontig only gives the table name back but its uses the object ID to run the defrag
DBCC INDEXDEFRAG (0, '...
March 3, 2009 at 12:56 pm
Yep, its the bottom section of where you define the report parameter.
see http://www.sql-server-performance.com/articles/reporting/report_parameters_p1.aspx
March 3, 2009 at 11:38 am
For maintenance plans, goto Management & Right click on Maintenance Plans, then click on View History
For jobs, goto SQL Server agent, right click on Jobs folder and click view history.
--
Or...
March 3, 2009 at 11:17 am
It looks like you can just replace this code
DECLARE tables CURSOR FOR
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
with this
DECLARE tables CURSOR...
March 3, 2009 at 11:04 am
They will have the same permissions because the sp_help_revlogin script creates the accounts with the same SID & password. SQL accounts will map properly, and domain accounts have...
January 22, 2009 at 8:56 am
deleting a bit at a time might help you. Say you have 2 years worth of history (730 days), delete 2-4 weeks at a time..
sp_delete_backuphistory (#days to keep)
so find out...
January 22, 2009 at 8:54 am
I usually take this approach for moving databases. I never move entire instances and mess with restore system databases because of the risk of instability.
> change db's to single...
January 22, 2009 at 8:36 am
Another article to follow on your maintenance jobs and how the testing went?
Nice article!
October 29, 2008 at 11:25 am
I almost went 3,3,3 then took a look at the data types again before submitting .. tricky 🙂
October 24, 2008 at 6:48 am
anything in the application log when trying to start the service?
September 25, 2008 at 12:10 pm
you could access it directly instead of using openquery..
update SERVERLINK.DATABASE.SCHEMA.servercollection
set username = 'TEST'
where hostname = 'TEST'
select *
from SERVERLINK.DATABASE.SCHEMA.servercollection
September 25, 2008 at 10:44 am
I found that the Logging to table option was only allowed in "live" profiler traces. I couldn't schedule a regular trace to use this via a SQL command.
I always have...
September 25, 2008 at 7:07 am
Yes, but please don't take this as criticism. I love these articles you guys write, and just wanted to add a note as I've done something similar before 🙂
August 28, 2008 at 7:20 am
Viewing 15 posts - 136 through 150 (of 179 total)