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

Database

 
GeneralRe: Need help with updating columns Pin
musefan23-Mar-11 6:10
musefan23-Mar-11 6:10 
GeneralRe: Need help with updating columns Pin
Wendelius23-Mar-11 6:15
mentorWendelius23-Mar-11 6:15 
AnswerRe: Need help with updating columns Pin
Klaus-Werner Konrad25-Mar-11 7:23
Klaus-Werner Konrad25-Mar-11 7:23 
QuestionCapture error return by MS Sql Pin
Hum Dum22-Mar-11 20:28
Hum Dum22-Mar-11 20:28 
AnswerRe: Capture error return by MS Sql Pin
Wendelius22-Mar-11 21:11
mentorWendelius22-Mar-11 21:11 
GeneralRe: Capture error return by MS Sql Pin
Hum Dum22-Mar-11 21:29
Hum Dum22-Mar-11 21:29 
GeneralRe: Capture error return by MS Sql Pin
Wendelius22-Mar-11 21:45
mentorWendelius22-Mar-11 21:45 
GeneralRe: Capture error return by MS Sql Pin
Hum Dum22-Mar-11 22:51
Hum Dum22-Mar-11 22:51 
Mika Wendelius wrote:
you're sure the IF is not hit at all...


Well instead of if you can use PRINT, if control reaches to print it should print.
But execution terminates on OPENROWSET itself.



Mika Wendelius wrote:
call this procedure from another and check if you can handle the error properly in the calling procedure.


No luck !

in a new query window i tried like

EXEC [spName]

IF(@@error <> 0)
BEGIN
	Print 'No error'
END
ELSE
BEGIN
	Print 'error'
END


here also not going to if clause !

Any other suggestion?
GeneralRe: Capture error return by MS Sql Pin
Wendelius22-Mar-11 23:19
mentorWendelius22-Mar-11 23:19 
QuestionHow to implement a dialog for updating DB with a Cancel (rollback) option Pin
crypto_rsa22-Mar-11 0:47
crypto_rsa22-Mar-11 0:47 
AnswerRe: How to implement a dialog for updating DB with a Cancel (rollback) option Pin
Johan Hakkesteegt22-Mar-11 1:01
Johan Hakkesteegt22-Mar-11 1:01 
GeneralRe: How to implement a dialog for updating DB with a Cancel (rollback) option Pin
crypto_rsa22-Mar-11 1:15
crypto_rsa22-Mar-11 1:15 
GeneralRe: How to implement a dialog for updating DB with a Cancel (rollback) option Pin
Johan Hakkesteegt22-Mar-11 1:38
Johan Hakkesteegt22-Mar-11 1:38 
GeneralRe: How to implement a dialog for updating DB with a Cancel (rollback) option Pin
crypto_rsa22-Mar-11 1:59
crypto_rsa22-Mar-11 1:59 
AnswerRe: How to implement a dialog for updating DB with a Cancel (rollback) option Pin
Wendelius22-Mar-11 2:06
mentorWendelius22-Mar-11 2:06 
QuestionHow to spread traffic on a table Pin
Johan Hakkesteegt21-Mar-11 23:24
Johan Hakkesteegt21-Mar-11 23:24 
AnswerRe: How to spread traffic on a table Pin
Corporal Agarn22-Mar-11 1:06
professionalCorporal Agarn22-Mar-11 1:06 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 1:23
Johan Hakkesteegt22-Mar-11 1:23 
GeneralRe: How to spread traffic on a table Pin
Corporal Agarn22-Mar-11 1:27
professionalCorporal Agarn22-Mar-11 1:27 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 2:11
Johan Hakkesteegt22-Mar-11 2:11 
AnswerRe: How to spread traffic on a table Pin
Mycroft Holmes22-Mar-11 1:32
professionalMycroft Holmes22-Mar-11 1:32 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 1:55
Johan Hakkesteegt22-Mar-11 1:55 
AnswerRe: How to spread traffic on a table [modified] Pin
Jörgen Andersson22-Mar-11 1:54
professionalJörgen Andersson22-Mar-11 1:54 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 2:07
Johan Hakkesteegt22-Mar-11 2:07 
GeneralRe: How to spread traffic on a table Pin
Jörgen Andersson22-Mar-11 6:15
professionalJörgen Andersson22-Mar-11 6:15 

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.