Click here to Skip to main content
15,888,033 members
Home / Discussions / Database
   

Database

 
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 5:41
Member 348763224-Jul-12 5:41 
GeneralRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 7:31
professionalEddy Vluggen24-Jul-12 7:31 
AnswerRe: SET NOCOUNT Pin
_Amy24-Jul-12 2:57
professional_Amy24-Jul-12 2:57 
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 5:44
Member 348763224-Jul-12 5:44 
AnswerRe: SET NOCOUNT Pin
Luc Pattyn24-Jul-12 6:07
sitebuilderLuc Pattyn24-Jul-12 6:07 
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 6:21
Member 348763224-Jul-12 6:21 
AnswerRe: SET NOCOUNT Pin
_Amy24-Jul-12 17:36
professional_Amy24-Jul-12 17:36 
AnswerRe: SET NOCOUNT Pin
jschell24-Jul-12 7:16
jschell24-Jul-12 7:16 
Based on your other responses.

You have the following code
1. SQL
2. Calling code.

In a previous statement it appears that you cannot modify 2.

So that means you MUST modify 1 such that it returns the value that you want.

Thus for example you can structure a stored proc such that if there are no results, which you check for, then you return zero. (That means you write the code to do just that.)
QuestionSET NOCOUNT Pin
Member 348763223-Jul-12 22:15
Member 348763223-Jul-12 22:15 
AnswerRe: SET NOCOUNT Pin
Wayne Gaylard23-Jul-12 23:06
professionalWayne Gaylard23-Jul-12 23:06 
GeneralRe: SET NOCOUNT Pin
Member 348763223-Jul-12 23:09
Member 348763223-Jul-12 23:09 
GeneralIncreasing the session existing time in sql server Pin
yousefshokati20-Jul-12 22:29
yousefshokati20-Jul-12 22:29 
AnswerRe: Increasing the session existing time in sql server Pin
Eddy Vluggen21-Jul-12 7:57
professionalEddy Vluggen21-Jul-12 7:57 
GeneralRe: Increasing the session existing time in sql server Pin
jschell21-Jul-12 11:46
jschell21-Jul-12 11:46 
QuestionProblem saving file to MySQL Pin
Jassim Rahma20-Jul-12 21:27
Jassim Rahma20-Jul-12 21:27 
AnswerRe: Problem saving file to MySQL Pin
Eddy Vluggen20-Jul-12 23:22
professionalEddy Vluggen20-Jul-12 23:22 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 2:33
Jassim Rahma21-Jul-12 2:33 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 7:54
professionalEddy Vluggen21-Jul-12 7:54 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 8:40
Jassim Rahma21-Jul-12 8:40 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 9:21
professionalEddy Vluggen21-Jul-12 9:21 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 9:42
Jassim Rahma21-Jul-12 9:42 
GeneralRe: Problem saving file to MySQL Pin
jschell21-Jul-12 11:48
jschell21-Jul-12 11:48 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 11:57
Jassim Rahma21-Jul-12 11:57 
GeneralRe: Problem saving file to MySQL Pin
jschell22-Jul-12 6:56
jschell22-Jul-12 6:56 
AnswerRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 12:58
professionalEddy Vluggen21-Jul-12 12:58 

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.