Click here to Skip to main content
15,920,438 members
Home / Discussions / Database
   

Database

 
GeneralRe: Convert Columns as Rows Pin
Wendelius20-Jan-09 8:15
mentorWendelius20-Jan-09 8:15 
QuestionMS Access Query: Bit value in a Where Clause Pin
swjam19-Jan-09 0:03
swjam19-Jan-09 0:03 
Questionvertical to Horzontal data display Pin
Learner52018-Jan-09 23:22
Learner52018-Jan-09 23:22 
AnswerRe: vertical to Horzontal data display Pin
Wendelius19-Jan-09 2:17
mentorWendelius19-Jan-09 2:17 
GeneralRe: vertical to Horzontal data display Pin
Learner52019-Jan-09 3:12
Learner52019-Jan-09 3:12 
GeneralRe: vertical to Horzontal data display Pin
Wendelius19-Jan-09 6:52
mentorWendelius19-Jan-09 6:52 
QuestionSave Query Result as XML File in SQL Server 2005 Pin
Abhijit Jana18-Jan-09 23:22
professionalAbhijit Jana18-Jan-09 23:22 
AnswerDone !!! Pin
Abhijit Jana19-Jan-09 2:04
professionalAbhijit Jana19-Jan-09 2:04 
GeneralRe: Done !!! Pin
Wendelius19-Jan-09 8:50
mentorWendelius19-Jan-09 8:50 
QuestionHow to get leaf nodes of a particular Parent using sql Query Pin
vidhyap18-Jan-09 23:10
vidhyap18-Jan-09 23:10 
AnswerRe: How to get leaf nodes of a particular Parent using sql Query Pin
kingindra18-Jan-09 23:16
kingindra18-Jan-09 23:16 
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 
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 
Since you are using Stored procedures, you can handle the errors inside the procedure and rollback if necessary. Add an output parameter which can be used to inform the client program about the process status. Something like,
CREATE PROCEDURE Foo
   @FooColumn int = NULL
   @ProcessStatus varchar(100) = NULL
AS
   // your insert query
   IF @@ERROR <>0
   BEGIN
      ROLLBACK
      SET @ProcessStatus = 'Rollbacked'
   END
   ELSE
   BEGIN
      SET @ProcessStatus = 'Completed'
   END



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 

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.