Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
svjith
Starting Member
5 Posts |
Posted - 2009-12-12 : 09:00:22
|
| BEGIN TRY -- Generate divide-by-zero error. SELECT 1/0;END TRYBEGIN CATCHprint 'Catched'END CATCH;this print Catched fine.--BUT--BEGIN TRY -- Generate divide-by-zero error. SELECT * from ATableNotExistingInMydbEND TRYBEGIN CATCHprint 'Catched'END CATCH;this is not printing Catched why ? :( this print only : Invalid object name 'ATableNotExistingInMydb' |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|