Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
About Us
986
Questions
785
Answers
Interview Preparation mode
beta
Funny Facebook Status
Enter your email address
All categories
SQL Server Interview Questions and Answers
(197)
SSIS Interview Questions and Answers
(54)
SSRS Interview Questions and Answers
(9)
SSAS Interview Questions and Answers
(29)
.NET Interview Questions and Answers
(186)
Oracle Interview Questions and Answers
(122)
Java Interview Questions and Answers
(32)
UNIX Interview Questions and Answers
(47)
Networking Interview Questions and Answers
(17)
MySQL Interview Questions and Answers
(30)
HR Interview Questions and Answers
(237)
General Interview Questions and Answers
(9)
Other Interview Questions and Answers
(8)
Job Openings
(3)
Greenplum Database Interview Questions and Answers
(5)
How do you code error handling logic in your stored procedures?
Nice?
Vote!
asked
1 year
ago
in
SQL Server Interview Questions and Answers
by
R
(
19,530
points)
sql-server-interview-question
junior-sql-server-developer-interview-questions
2 Answers
Nice?
Vote!
* Use the TRY and CATCH commands with BEGIN and END blocks.
* The error handling can be consolidated by creating a single stored procedure to write the data to a centralized table.
* Use the RAISERROR command.
answered
1 year
ago
by
R
(
19,530
points)
Nice?
Vote!
am all for abstractions and separations of logic. I definately do not believe that T/SQL or PL/SQL are expressive enough languages to describe that logic. Sticking critically meaningful code in the DB from what I've always encountered leads to the Clusterous Fucokous Anti-pattern.
answered
1 year
ago
by
GabrieFinch
(
220
points)
Related questions
Nice?
Vote!
1
answer
Name 3 or more aggregate functions and the value they provide in your coding.
asked
1 year
ago
in
SQL Server Interview Questions and Answers
by
R
(
19,530
points)
sql-server-interview-question
junior-sql-server-developer-interview-questions
function
Nice?
Vote!
1
answer
What are the different indexing options available and what columns do you typically index?
asked
1 year
ago
in
SQL Server Interview Questions and Answers
by
R
(
19,530
points)
sql-server-interview-question
junior-sql-server-developer-interview-questions
indexing
Nice?
Vote!
3
answers
What is an identity? What is the value? How can you capture the last identity value per column?
asked
1 year
ago
in
SQL Server Interview Questions and Answers
by
R
(
19,530
points)
sql-server-interview-question
junior-sql-server-developer-interview-questions
data-modeling
identity
Nice?
Vote!
3
answers
How would you do Error Handling?
asked
1 year
ago
in
SSIS Interview Questions and Answers
by
R
(
19,530
points)
ssis-interview-question
ssis
Nice?
Vote!
2
answers
What is the new error handling technique in SQL Server 2005?
asked
1 year
ago
in
SQL Server Interview Questions and Answers
by
Anand
(
1,440
points)
sql-server-interview-question
error-handling