Click here to Skip to main content
15,890,670 members
Home / Discussions / Database
   

Database

 
QuestionPlease modify the Stored procedure (Error:-incorrect syntax near '+') Pin
vinu.111131-Mar-11 2:17
vinu.111131-Mar-11 2:17 
AnswerRe: Please modify the Stored procedure (Error:-incorrect syntax near '+') Pin
s_magus31-Mar-11 3:47
s_magus31-Mar-11 3:47 
AnswerRe: Please modify the Stored procedure (Error:-incorrect syntax near '+') Pin
Wendelius31-Mar-11 5:30
mentorWendelius31-Mar-11 5:30 
AnswerRe: Please modify the Stored procedure (Error:-incorrect syntax near '+') Pin
SamRST4-Apr-11 21:27
SamRST4-Apr-11 21:27 
QuestionSQL Server Error: String or binary data would be truncated Pin
cateyes9930-Mar-11 15:24
cateyes9930-Mar-11 15:24 
AnswerRe: SQL Server Error: String or binary data would be truncated Pin
Luc Pattyn30-Mar-11 15:41
sitebuilderLuc Pattyn30-Mar-11 15:41 
GeneralRe: SQL Server Error: String or binary data would be truncated Pin
cateyes9930-Mar-11 16:34
cateyes9930-Mar-11 16:34 
AnswerRe: SQL Server Error: String or binary data would be truncated Pin
Wendelius31-Mar-11 5:19
mentorWendelius31-Mar-11 5:19 
Since it's an error you should get more info along the message. The whole message should include also the row number for the error so using you should be able to locate the statement. An example of the error:
Msg 8152, Level 16, State 14, Line 11
String or binary data would be truncated.
So in that case the error was in the statement at line 11.

On the other hand, by using try-catch[^] block you can catch the error and produce more information about the error (like the statement, parameter values etc) for example using RAISERROR[^] statement
The need to optimize rises from a bad design.My articles[^]

Questionreporting left to right instead of top to bottom [not solved but project went another way so closed] Pin
gavindon30-Mar-11 11:24
gavindon30-Mar-11 11:24 
AnswerRe: reporting left to right instead of top to bottom Pin
Jörgen Andersson30-Mar-11 19:54
professionalJörgen Andersson30-Mar-11 19:54 
GeneralRe: reporting left to right instead of top to bottom Pin
gavindon31-Mar-11 2:59
gavindon31-Mar-11 2:59 
AnswerRe: reporting left to right instead of top to bottom Pin
Simon_Whale30-Mar-11 22:13
Simon_Whale30-Mar-11 22:13 
GeneralRe: reporting left to right instead of top to bottom Pin
gavindon31-Mar-11 3:02
gavindon31-Mar-11 3:02 
GeneralRe: reporting left to right instead of top to bottom Pin
Simon_Whale31-Mar-11 3:05
Simon_Whale31-Mar-11 3:05 
GeneralRe: reporting left to right instead of top to bottom Pin
gavindon31-Mar-11 8:27
gavindon31-Mar-11 8:27 
QuestionDoes it make sense to use CLR Stored Procedures Pin
Jani Giannoudis29-Mar-11 22:11
Jani Giannoudis29-Mar-11 22:11 
AnswerRe: Does it make sense to use CLR Stored Procedures Pin
Wayne Gaylard29-Mar-11 22:41
professionalWayne Gaylard29-Mar-11 22:41 
AnswerRe: Does it make sense to use CLR Stored Procedures Pin
PIEBALDconsult30-Mar-11 3:23
mvePIEBALDconsult30-Mar-11 3:23 
GeneralRe: Does it make sense to use CLR Stored Procedures Pin
Jani Giannoudis30-Mar-11 21:43
Jani Giannoudis30-Mar-11 21:43 
GeneralRe: Does it make sense to use CLR Stored Procedures Pin
PIEBALDconsult31-Mar-11 2:52
mvePIEBALDconsult31-Mar-11 2:52 
GeneralRe: Does it make sense to use CLR Stored Procedures Pin
Jani Giannoudis31-Mar-11 3:44
Jani Giannoudis31-Mar-11 3:44 
AnswerRe: Does it make sense to use CLR Stored Procedures Pin
Wendelius31-Mar-11 7:27
mentorWendelius31-Mar-11 7:27 
QuestionTransact SQL conditional Select Pin
butchzn29-Mar-11 0:29
butchzn29-Mar-11 0:29 
AnswerRe: Transact SQL conditional Select Pin
Eddy Vluggen29-Mar-11 0:36
professionalEddy Vluggen29-Mar-11 0:36 
GeneralRe: Transact SQL conditional Select Pin
butchzn29-Mar-11 2:01
butchzn29-Mar-11 2:01 

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.