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

Database

 
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 
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 
monuSaini wrote:
This trigger is working fine only if one row is updated
but it fails if i update more than one row using update query.


Expanding Milka's answer,

SQL server don't have row level trigger like oracle. SQL server trigger will be executed only after the whole statement is completed. So when multiple rows are updated, the trigger will be executed only after all the updations are complete. You can use the INSERTED or UPDATED virtual tables to get the data affected.


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 

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.