Viewing 15 posts - 1,861 through 1,875 (of 2,897 total)
When we migrated from 2000 to 2005, we left the DTS packages as DTS instead of migrating them to SSIS. It seemed like too much work at the time, since...
June 24, 2009 at 12:30 pm
Since the script is based on sys.dm_db_index_usage_stats, it only returns unused indexes that exist in sys.dm_db_index_usage_stats. Other unused indexes can be found by a different query with "WHERE NOT EXISTS...
June 24, 2009 at 8:40 am
Mani Singh (6/24/2009)
paul is correct, i completely forgot about that.. i should stop thinking about my girlfriends all the time. 😀
How many do you have ? (To have...
June 24, 2009 at 8:08 am
After you set back to Full Recovery, you need to take a full backup because you have broken the log chain.
June 23, 2009 at 8:30 am
Full backup just once a week ? If it's production, you could take DIFF backups during the week so that you don't have huge numbers of transaction logs to...
June 22, 2009 at 9:01 am
You CAN shrink it. Doesn't mean you SHOULD shrink it. Shrinking causes fragmentation.
Leave it alone and as your database grows again the space is already allocated, so you don't lose...
June 17, 2009 at 12:36 pm
Sorry for the newbie trace question...
Looks like your Stored Proc "sp_AddMyTrace" starts the trace, but how do you know the traceid to stop it ?
What do you consider long duration...
June 16, 2009 at 1:22 pm
If you search "shrink tempdb" you will find some good threads on this topic.
June 16, 2009 at 9:03 am
I think the original version of SQL 2005 did not let you script one file per table, but everyone should be on at least SP2 by now.
Is there a way...
June 12, 2009 at 2:23 pm
gmartin (6/11/2009)
So, last question. What would be a good way to set it back to default?
Set Isolation Level Read Uncommitted
begin tran
...
June 11, 2009 at 1:02 pm
This will dump all the MDF & LDF file drive letters to a table, then you can select distinct. Probably a better way though
CREATE TABLE dbo.DBFileLocations
(
DBName nvarchar(50) NULL,
Physical_Name nvarchar(260) NULL,
Drive_Letter...
June 11, 2009 at 12:28 pm
Thanks for the info. I should have read the earlier posts a little more closely.
June 11, 2009 at 11:42 am
I don't understand the distinction between profiler & server-side trace. If I go into profiler and script out the trace from the GUI, it gives me the same script that...
June 11, 2009 at 10:30 am
Lumigent Log Explorer is another product. Not sure if it would help in this case.
June 10, 2009 at 10:17 am
Viewing 15 posts - 1,861 through 1,875 (of 2,897 total)