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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 exception handling in T-SQL

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-29 : 09:39:48
Phil writes "Hi,


I used to program in Oracle and they have a nice part in the PLSQL called exception handling. For instance, you can do in a function a simple SQL select and in the EXCEPTION section say something like "When no_Data_found then return(false)". Is there any sort of exception handling similar to this in T-SQL?


Thanks,
Phil"

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-03-29 : 09:40:43
I'd start with these articles (http://www.sqlteam.com/SearchResults.asp?SearchTerms=error). Especially this one: http://www.sqlteam.com/item.asp?ItemID=2463

===============================================
Creating tomorrow's legacy systems today.
One crisis at a time.
Go to Top of Page
   

- Advertisement -