Viewing 15 posts - 2,581 through 2,595 (of 4,745 total)
Thats the classic way of migrating to another server and minimizing downtime and will work well for you.
Those databases that are only 20MB probably not worth it though. Full backup...
May 13, 2010 at 1:52 pm
I would suggest changing the DELETE statement to commit in smaller batches and let the trigger take care of itself.
May 12, 2010 at 8:02 am
the TOTAL table does not contain a column job_title
May 9, 2010 at 1:42 pm
offline
alter database
online
has the advantage of not changing the database owner or possibly ending up with a different dbid which can throw off default database settings.
May 8, 2010 at 9:47 am
this is probably a parallel query.
see if only one connection shows as runnable with the others suspended. A waittype of CXPACKET would confirm it.
May 7, 2010 at 3:35 pm
did you move or copy the files?
to tell SQL the files have been moved use the alter database command
alter database dbname modify file (name =, filename =' ')
I would expect...
May 7, 2010 at 3:05 pm
sqlquestions15 (6/14/2009)
What does DBCC SHRINK FILE does Actually????
in a nutshell for a datafile it shuffles all the extents to the front of the file. It does not care how it...
May 7, 2010 at 2:57 pm
elchuru (5/6/2010)
4)If those databases are deleted how to recover them?
Thanks in advance
restore from backup!
May 6, 2010 at 6:39 am
Bhuvnesh (5/5/2010)
David Portas (5/4/2010)
SQLJocky (5/4/2010)
It's true that a nonclustered index always contains the cluster key columnssomething new to me . Are you sure for it ?
http://msdn.microsoft.com/en-us/library/ms177484.aspx
or see BOL
May 5, 2010 at 4:16 am
sounds like you installed just the management gui and not the database engine itself:
May 4, 2010 at 4:12 pm
I think we agree david that the important point is that the non-clustered index be covering.
May 4, 2010 at 3:43 pm
thanks for sharing.
but of course you now have an index that offers no performance gain on selects but will need to be maintained on updates/inserts and double(?) the space used...
May 4, 2010 at 2:57 pm
SQLJocky (5/4/2010)
Is there any benefit to including the clustered column(s) in a non-clustered index with more fields?
On a table with a clustered index the clustered index key is already contained...
May 4, 2010 at 2:46 pm
If you are logged on as 'sa' at the time you do the initial restore of the logshipped database with the norecovery option, the database will be owned by 'sa'.
Once...
May 4, 2010 at 6:21 am
Viewing 15 posts - 2,581 through 2,595 (of 4,745 total)