Solved

6232B_12 Handling Errors in T-SQL Code: Types of Errors

Posted on 2011-09-16
1
248 Views
Last Modified: 2012-06-21
Hi experts, i am reading about  Types of Errors but i do not understand
Connection Terminating Errors
and
Server Terminating Errors
and
Statement Terminating Errors


can you give me an example of when these errors occur?
0
Comment
Question by:enrique_aeo
1 Comment
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 250 total points
ID: 36553020
enrique_aeo, as it appears you are studying for certification or some other course, it would be best to ensure you learn this to the fullest; therefore, I will provide a reference to MSDN on Database Engine Error Severities: http://msdn.microsoft.com/en-us/library/ms164086.aspx. Further, think about what the word "terminating" means. View connection, server, and statement as scopes which get terminated.

Please read through the documentation along with my hints and post back you understanding of each if there is a still a doubt. We will guide you from there.

Hope that helps!

Kevin
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 r2 Make faster Temp Table 17 113
sql how to count case when 4 24
SQL trigger 5 18
Need return values from a stored procedure 8 19
Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question