Click here to Skip to main content
15,886,518 members
Home / Discussions / Database
   

Database

 
AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
The Man from U.N.C.L.E.30-Nov-09 7:40
The Man from U.N.C.L.E.30-Nov-09 7:40 
AnswerRe: Is it possible to update a table concurrently? (using SQL Server 2008) Pin
Rafferty Uy30-Nov-09 15:12
Rafferty Uy30-Nov-09 15:12 
AnswerNow the web server (instead of the SQL server) is slow Pin
Rafferty Uy10-Dec-09 15:47
Rafferty Uy10-Dec-09 15:47 
QuestionDisplay Message while using Stored procedure Pin
kankeyan29-Nov-09 21:13
kankeyan29-Nov-09 21:13 
AnswerRe: Display Message while using Stored procedure Pin
dan!sh 29-Nov-09 21:34
professional dan!sh 29-Nov-09 21:34 
GeneralRe: Display Message while using Stored procedure Pin
Mycroft Holmes29-Nov-09 23:03
professionalMycroft Holmes29-Nov-09 23:03 
GeneralRe: Display Message while using Stored procedure Pin
kankeyan29-Nov-09 23:40
kankeyan29-Nov-09 23:40 
GeneralRe: Display Message while using Stored procedure Pin
dan!sh 29-Nov-09 23:58
professional dan!sh 29-Nov-09 23:58 
I would again say, you should not let that null date to reach your DB. Check it beforehand. For other exception, you can have something like this:

You can use try/catch in your stored procedure. Then, if it fails, you should send the exception back to your data access layer. That or business should inturn change the message to a user friendly one. Also, before doing this make sure you log it in somewhere for future reference.

Once your message has reached UI layer, use MessageBox or Alert as applicable.

In order to understand ho try catch works in SQL, use google and you will find a lot of help.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

GeneralRe: Display Message while using Stored procedure Pin
Ashfield30-Nov-09 0:13
Ashfield30-Nov-09 0:13 
AnswerRe: Display Message while using Stored procedure Pin
Shameel29-Nov-09 23:32
professionalShameel29-Nov-09 23:32 
QuestionAccessing SQL Database From difference Client PCs. Pin
jeshra27929-Nov-09 20:24
jeshra27929-Nov-09 20:24 
AnswerRe: Accessing SQL Database From difference Client PCs. Pin
T210229-Nov-09 21:36
T210229-Nov-09 21:36 
AnswerRe: Accessing SQL Database From difference Client PCs. Pin
dan!sh 29-Nov-09 21:40
professional dan!sh 29-Nov-09 21:40 
QuestionRelational databases, XML, or OLAP? Pin
James Shao28-Nov-09 18:09
James Shao28-Nov-09 18:09 
AnswerRe: Relational databases, XML, or OLAP? Pin
T210228-Nov-09 23:08
T210228-Nov-09 23:08 
AnswerRe: Relational databases, XML, or OLAP? Pin
Luc Pattyn29-Nov-09 0:27
sitebuilderLuc Pattyn29-Nov-09 0:27 
GeneralRe: Relational databases, XML, or OLAP? Pin
James Shao29-Nov-09 0:55
James Shao29-Nov-09 0:55 
GeneralRe: Relational databases, XML, or OLAP? Pin
Luc Pattyn29-Nov-09 8:08
sitebuilderLuc Pattyn29-Nov-09 8:08 
GeneralRe: Relational databases, XML, or OLAP? Pin
James Shao29-Nov-09 12:21
James Shao29-Nov-09 12:21 
GeneralRe: Relational databases, XML, or OLAP? Pin
Mycroft Holmes29-Nov-09 23:15
professionalMycroft Holmes29-Nov-09 23:15 
GeneralRe: Relational databases, XML, or OLAP? Pin
T210229-Nov-09 13:30
T210229-Nov-09 13:30 
GeneralRe: Relational databases, XML, or OLAP? Pin
James Shao29-Nov-09 19:07
James Shao29-Nov-09 19:07 
GeneralRe: Relational databases, XML, or OLAP? Pin
T210229-Nov-09 19:35
T210229-Nov-09 19:35 
GeneralRe: Relational databases, XML, or OLAP? Pin
James Shao30-Nov-09 12:04
James Shao30-Nov-09 12:04 
Questionvalidate name with no space? Pin
LTMKH27-Nov-09 15:59
LTMKH27-Nov-09 15:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.