Viewing 15 posts - 43,276 through 43,290 (of 49,571 total)
Good one! Anybody can try using this to recover records deleted from tables in SQL Server 2000.
Providing the log records are there. Backups are still (and probable always will be)...
November 8, 2008 at 3:31 pm
why not....
Hint hell:
SELECT CompanyName, OrderDate, ProductName, OD.UnitPrice, Quantity, SUM(OD.UnitPrice) * Quantity TotalPrice
FROM Orders O with (INDEX = CustomerID)
INNER LOOP JOIN [Order Details] OD WITH (INDEX =...
November 8, 2008 at 3:20 pm
Do you have a backup of master?
November 8, 2008 at 3:00 pm
Can you post the table definitions (as create scripts), some sample data (as insert statements) and your expected results please?
November 8, 2008 at 2:36 pm
Does the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG" exist? Is it readable?
Do you have a backup of the master database?
Can you do a check of the C drive? It looks like...
November 8, 2008 at 2:26 pm
Triggers have uses, but I'm not sure that business logic is a good one.
For me, auditing is the main use. In 2008 Change data capture and change data tracking can...
November 8, 2008 at 6:19 am
I had one of those investment-type spams that made me laugh because of the coincidence in it.
It started
"Since you are not a client of XYZ bank ..." with XYZ bank...
November 8, 2008 at 6:03 am
Chad Churchwell (11/7/2008)
I also use sys.dm_db_missing_index_group_stats and sys.dm_db_missing_index_details to identofy indexes that...
November 8, 2008 at 5:04 am
Barkingdog (11/6/2008)
November 8, 2008 at 4:54 am
Look up ALTER DATABASE in books online. It will be one of the Modify File options.
November 8, 2008 at 4:48 am
onlo (11/6/2008)
It always said some bodies in use, but sp_who2 told me nobody was holding this db.
ALTER DATABASE < DB name > SET OFFLINE WITH ROLLBACK IMMEDIATE
November 8, 2008 at 4:47 am
The (unexpected) answer is both.
Physical and readahead reads are physical IOs, ie they are reads from the physical disk. Logical reads are reads from memory.
So, your second query required more...
November 8, 2008 at 4:43 am
That's a wide-open question
SQL not running
SQL running but no accepting connections
Database corruption
Backup failures
Drive failure (data file, log file or both)
User deleted data accidentally
Deadlocks
Query running yesterday, giving error today
... etc
If you...
November 8, 2008 at 4:35 am
Jeffrey Williams (11/7/2008)
Another option (which will require a downtime) is to:1) Perform a transaction log backup (tail log)
Assuming the DB is in full/bulk logged and there is a database...
November 8, 2008 at 4:32 am
ajaykini (11/7/2008)
Lynn:Thank you for your understanding and patience.
I hope i am now on the right track to receive your valuable advise to resolve the problem.
Almost. For the sample data you...
November 8, 2008 at 4:28 am
Viewing 15 posts - 43,276 through 43,290 (of 49,571 total)