DBCC error? Chap 9 page 283
Can anyone get this to execute?
USE Northwind
GO
DBCC SHOWCONTIG (@id, @IdxID)
GO
I get the following error:
Msg 137, Level 15, State 2, Line 1
Must declare the scalar variable "@id".
Books Online says to use OBJECT_ID to get the ID, (which I could insert in the above command, but I couldn't get that to work either. I kept getting a null value returned.
Thanks, Brian
Sincerely,
Brian
__________________
Sincerely,
Brian
|