Click here to Skip to main content
       

Database

 
AnswerRe: SET NOCOUNT PinmemberBernhard Hiller24-Jul-12 0:33 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 0:48 
AnswerRe: SET NOCOUNT PinmemberEddy Vluggen24-Jul-12 2:34 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 5:41 
GeneralRe: SET NOCOUNT PinmemberEddy Vluggen24-Jul-12 7:31 
AnswerRe: SET NOCOUNT Pinmember_Amy24-Jul-12 2:57 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 5:44 
AnswerRe: SET NOCOUNT PinmvpLuc Pattyn24-Jul-12 6:07 
Member 3487632 wrote:
for select statement it is giving -1 always

 
What a shocker. It is what the doc[^] says: For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command... For all other types of statements, the return value is -1
 
Hmmm | :|
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 6:21 
AnswerRe: SET NOCOUNT Pinmember_Amy24-Jul-12 17:36 
AnswerRe: SET NOCOUNT Pinmemberjschell24-Jul-12 7:16 
QuestionSET NOCOUNT PinmemberMember 348763223-Jul-12 22:15 
AnswerRe: SET NOCOUNT PinmentorWayne Gaylard23-Jul-12 23:06 
GeneralRe: SET NOCOUNT PinmemberMember 348763223-Jul-12 23:09 
GeneralIncreasing the session existing time in sql server Pinmemberyousefshokati20-Jul-12 22:29 
AnswerRe: Increasing the session existing time in sql server PinmemberEddy Vluggen21-Jul-12 7:57 
GeneralRe: Increasing the session existing time in sql server Pinmemberjschell21-Jul-12 11:46 
QuestionProblem saving file to MySQL Pinmemberjrahma20-Jul-12 21:27 
AnswerRe: Problem saving file to MySQL PinmemberEddy Vluggen20-Jul-12 23:22 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 2:33 
GeneralRe: Problem saving file to MySQL PinmemberEddy Vluggen21-Jul-12 7:54 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 8:40 
GeneralRe: Problem saving file to MySQL [modified] PinmemberEddy Vluggen21-Jul-12 9:21 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 9:42 
GeneralRe: Problem saving file to MySQL Pinmemberjschell21-Jul-12 11:48 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 17 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid