c# - SQLException deadlocked: does the exception contains the query text executed somewhere? -
the sqlexception "was deadlocked on lock resources process , has been chosen deadlock victim" quite common ;-)
does exception contains query text executed somewhere ? possible obtain ?
thks
yes, not in exception. should know did - , exception tells you deadlocked. should know sql youwere executing @ moment.
for rest, use query profiler , other information obtain teh server (check http://support.microsoft.com/kb/832524 tips, or http://msdn.microsoft.com/en-us/library/aa937573(v=sql.80).aspx find out other scripts deadlock with. is, though, obbvious security reasons, onl adins do.
Comments
Post a Comment