Click here to Skip to main content
15,891,431 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to get leaf nodes of a particular Parent using sql Query Pin
Wendelius19-Jan-09 2:09
mentorWendelius19-Jan-09 2:09 
QuestionInsert Stmt returns -1 Pin
AB777118-Jan-09 19:43
AB777118-Jan-09 19:43 
AnswerRe: Insert Stmt returns -1 Pin
Reza Raad18-Jan-09 20:30
Reza Raad18-Jan-09 20:30 
GeneralRe: Insert Stmt returns -1 Pin
AB777118-Jan-09 20:39
AB777118-Jan-09 20:39 
GeneralRe: Insert Stmt returns -1 Pin
Reza Raad18-Jan-09 21:21
Reza Raad18-Jan-09 21:21 
AnswerRe: Insert Stmt returns -1 Pin
Aman Bhullar18-Jan-09 20:45
Aman Bhullar18-Jan-09 20:45 
GeneralRe: Insert Stmt returns -1 Pin
AB777118-Jan-09 20:52
AB777118-Jan-09 20:52 
GeneralRe: Insert Stmt returns -1 Pin
N a v a n e e t h18-Jan-09 21:33
N a v a n e e t h18-Jan-09 21:33 
Do you mean ExecuteNonQuery returns -1? If yes, see what the documentation says

For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. When a trigger exists on a table being inserted or updated, the return value includes the number of rows affected by both the insert or update operation and the number of rows affected by the trigger or triggers. For all other types of statements, the return value is -1. If a rollback occurs, the return value is also -1.


GeneralRe: Insert Stmt returns -1 Pin
AB777118-Jan-09 22:35
AB777118-Jan-09 22:35 
GeneralRe: Insert Stmt returns -1 Pin
Wendelius19-Jan-09 2:13
mentorWendelius19-Jan-09 2:13 
GeneralRe: Insert Stmt returns -1 Pin
N a v a n e e t h19-Jan-09 14:53
N a v a n e e t h19-Jan-09 14:53 
GeneralRe: Insert Stmt returns -1 Pin
AB777119-Jan-09 22:58
AB777119-Jan-09 22:58 
QuestionCreating relation between two tables in VS2008 & SQL Express ? Pin
Mohammad Dayyan18-Jan-09 2:18
Mohammad Dayyan18-Jan-09 2:18 
AnswerRe: Creating relation between two tables in VS2008 & SQL Express ? Pin
Wendelius18-Jan-09 7:25
mentorWendelius18-Jan-09 7:25 
GeneralRe: Creating relation between two tables in VS2008 & SQL Express ? Pin
Mohammad Dayyan18-Jan-09 8:45
Mohammad Dayyan18-Jan-09 8:45 
GeneralRe: Creating relation between two tables in VS2008 & SQL Express ? Pin
Wendelius18-Jan-09 8:57
mentorWendelius18-Jan-09 8:57 
Questiontrigger problem Pin
monuSaini16-Jan-09 20:05
monuSaini16-Jan-09 20:05 
AnswerRe: trigger problem Pin
Wendelius16-Jan-09 21:52
mentorWendelius16-Jan-09 21:52 
AnswerRe: trigger problem Pin
N a v a n e e t h18-Jan-09 21:44
N a v a n e e t h18-Jan-09 21:44 
QuestionPrimary key violation Pin
CodingYoshi16-Jan-09 18:35
CodingYoshi16-Jan-09 18:35 
AnswerRe: Primary key violation Pin
Aman Bhullar16-Jan-09 19:39
Aman Bhullar16-Jan-09 19:39 
AnswerRe: Primary key violation [modified] Pin
Wendelius16-Jan-09 22:12
mentorWendelius16-Jan-09 22:12 
QuestionDivision by zero error Pin
Unsy16-Jan-09 9:27
Unsy16-Jan-09 9:27 
AnswerRe: Division by zero error Pin
Wendelius16-Jan-09 9:28
mentorWendelius16-Jan-09 9:28 
GeneralRe: Division by zero error Pin
Unsy17-Jan-09 6:39
Unsy17-Jan-09 6:39 

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.