Click here to Skip to main content
15,903,201 members
Home / Discussions / Database
   

Database

 
AnswerRe: Searching Content of Documents in Database Pin
StianSandberg25-Jul-12 0:00
StianSandberg25-Jul-12 0:00 
AnswerRe: Searching Content of Documents in Database Pin
jschell25-Jul-12 7:26
jschell25-Jul-12 7:26 
AnswerRe: Searching Content of Documents in Database Pin
Michael Potter25-Jul-12 11:03
Michael Potter25-Jul-12 11:03 
GeneralRe: Searching Content of Documents in Database Pin
Mycroft Holmes25-Jul-12 13:00
professionalMycroft Holmes25-Jul-12 13:00 
GeneralRe: Searching Content of Documents in Database Pin
Peter_in_278025-Jul-12 14:17
professionalPeter_in_278025-Jul-12 14:17 
QuestionSET NOCOUNT Pin
Member 348763223-Jul-12 23:07
Member 348763223-Jul-12 23:07 
QuestionRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 0:18
professionalEddy Vluggen24-Jul-12 0:18 
AnswerRe: SET NOCOUNT Pin
Bernhard Hiller24-Jul-12 0:33
Bernhard Hiller24-Jul-12 0:33 
That's an old concept for returning a value when actually no value can be returned (e.g. due to an error).
Here, you told the server that it must not count the rows affected. When you now ask "how many rows were affected" it cannot return the "correct" value, you ought to expect an exception, but for compatibility with legacy applications, it returns a number.
Any whole number from 0 to inifinite would pretend to be the correct result. Hence, the server must not return any value in that range. And therefore, it returns -1: it is not possible that a negative number of rows was affected.
Get used to that old concept, you may encounter it more often.
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 0:48
Member 348763224-Jul-12 0:48 
AnswerRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 2:34
professionalEddy Vluggen24-Jul-12 2:34 
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 
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 

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.