Click here to Skip to main content
   

Database

 
AnswerRe: SET NOCOUNT PinmemberBernhard Hiller24-Jul-12 1:33 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 1:48 
AnswerRe: SET NOCOUNT PinmemberEddy Vluggen24-Jul-12 3:34 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 6:41 
GeneralRe: SET NOCOUNT PinmemberEddy Vluggen24-Jul-12 8:31 
AnswerRe: SET NOCOUNT Pinmember_Amy24-Jul-12 3:57 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 6:44 
AnswerRe: SET NOCOUNT PinmvpLuc Pattyn24-Jul-12 7: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 7:21 
AnswerRe: SET NOCOUNT Pinmember_Amy24-Jul-12 18:36 
AnswerRe: SET NOCOUNT Pinmemberjschell24-Jul-12 8:16 
QuestionSET NOCOUNT PinmemberMember 348763223-Jul-12 23:15 
AnswerRe: SET NOCOUNT PinmentorWayne Gaylard24-Jul-12 0:06 
GeneralRe: SET NOCOUNT PinmemberMember 348763224-Jul-12 0:09 
GeneralIncreasing the session existing time in sql server Pinmemberyousefshokati20-Jul-12 23:29 
AnswerRe: Increasing the session existing time in sql server PinmemberEddy Vluggen21-Jul-12 8:57 
GeneralRe: Increasing the session existing time in sql server Pinmemberjschell21-Jul-12 12:46 
QuestionProblem saving file to MySQL Pinmemberjrahma20-Jul-12 22:27 
AnswerRe: Problem saving file to MySQL PinmemberEddy Vluggen21-Jul-12 0:22 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 3:33 
GeneralRe: Problem saving file to MySQL PinmemberEddy Vluggen21-Jul-12 8:54 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 9:40 
GeneralRe: Problem saving file to MySQL [modified] PinmemberEddy Vluggen21-Jul-12 10:21 
GeneralRe: Problem saving file to MySQL Pinmemberjrahma21-Jul-12 10:42 
GeneralRe: Problem saving file to MySQL Pinmemberjschell21-Jul-12 12: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
Web02 | 2.8.150327.1 | Last Updated 30 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid