Viewing 15 posts - 15,301 through 15,315 (of 49,552 total)
http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/ Chapters 6 and 7
December 10, 2012 at 10:36 am
I would recommend you get into the habit of qualifying your columns names
DELETE FROM Despatch
WHERE Despatch.ordno NOT IN
(SELECT Order.ordno FROM Order)
December 10, 2012 at 7:02 am
sri6sri6 (12/10/2012)
I ahve modified the querry as the execution satement was missing in it.
It wasn't missing. The script you refer to generated the sp_detach statements, allowing someone to copy the...
December 10, 2012 at 6:59 am
Jeff Moden (12/10/2012)
December 10, 2012 at 6:22 am
If those 2 columns are in a table, then
SELECT name FROM SomeTable ORDER BY sortorder
No CTE required
December 10, 2012 at 5:44 am
Hemant.R (12/10/2012)
also in case your missing mdf or ldf missing .
Missing files will not result in the DB being in the offline state. They result in the Recovery_Pending state if...
December 10, 2012 at 4:18 am
Nope, that's not something you'd use a trigger for. That's something you'd probably use an extended events sessions for, or SQL Trace if you're using SQL 2005 or below.
December 10, 2012 at 4:16 am
asir83 (12/10/2012)
Wanted to know if this table can be deleted & will impact any other process?
If you delete it then anyone who's created a database diagram (from SSMS) will lose...
December 10, 2012 at 4:14 am
If you are partitioning with the idea that queries are automatically faster on partitioned tables, don't waste your time.
December 10, 2012 at 2:44 am
You see all the locks that are held.
If the select's session was holding an IS (from an open transaction and previous statements), that's enough to block the index rebuild. Everything...
December 10, 2012 at 2:29 am
It's created when someone creates a database diagram
December 10, 2012 at 2:20 am
DBA24 (12/9/2012)
December 10, 2012 at 1:35 am
CheckDB won't tell you the last time an index was rebuilt (however you need to run it regularly).
That information isn't stored by default. If you're running a reindexing job, you...
December 10, 2012 at 1:32 am
Viewing 15 posts - 15,301 through 15,315 (of 49,552 total)