Click here to Skip to main content
15,922,512 members
Home / Discussions / Database
   

Database

 
GeneralRe: Very Beginner Question about SQL Server Pin
Derek Price9-Dec-02 7:59
Derek Price9-Dec-02 7:59 
GeneralSQL Explorer Control Pin
Paul Watson6-Dec-02 4:48
sitebuilderPaul Watson6-Dec-02 4:48 
GeneralTriggers and Mutating Tables Pin
Chris Meech6-Dec-02 3:58
Chris Meech6-Dec-02 3:58 
GeneralRe: Triggers and Mutating Tables Pin
Mark Conger6-Dec-02 4:24
Mark Conger6-Dec-02 4:24 
GeneralRe: Triggers and Mutating Tables Pin
Chris Meech6-Dec-02 4:42
Chris Meech6-Dec-02 4:42 
GeneralRe: Triggers and Mutating Tables Pin
Chris Meech6-Dec-02 5:39
Chris Meech6-Dec-02 5:39 
GeneralRe: Triggers and Mutating Tables Pin
Chris Meech6-Dec-02 5:55
Chris Meech6-Dec-02 5:55 
GeneralRe: Triggers and Mutating Tables Pin
Mark Conger6-Dec-02 6:20
Mark Conger6-Dec-02 6:20 
Double yuck! You hadn't mentioned an RI forein key being involved. Trigers and foreign keys usually mean headaches. My easiest solution to something liek this iss to do the insert via a PL/SQL package or have the trigger on the main table insert the appropriate data on the other table using a BEFORE insert trigger.

and yeah, I thought the mutating error might be coming from the AFTER insert trigger holding the row in partial commit. I saw it once and recoding logic to a BEFORe usually fixed it.

Yuck Smile | :)



Mark Conger
Sonork:100.28396
GeneralRe: Triggers and Mutating Tables Pin
Chris Meech6-Dec-02 8:43
Chris Meech6-Dec-02 8:43 
GeneralSQL Pin
d@rk_@lly6-Dec-02 1:58
d@rk_@lly6-Dec-02 1:58 
GeneralRe: SQL Pin
Vasudevan Deepak Kumar6-Dec-02 2:06
Vasudevan Deepak Kumar6-Dec-02 2:06 
GeneralRe: SQL Pin
Not Active6-Dec-02 2:13
mentorNot Active6-Dec-02 2:13 
GeneralRe: SQL Pin
Mark Conger6-Dec-02 3:37
Mark Conger6-Dec-02 3:37 
GeneralAuto Incrementing integer as primary key in access DB Pin
PJ Arends5-Dec-02 18:48
professionalPJ Arends5-Dec-02 18:48 
GeneralRe: Auto Incrementing integer as primary key in access DB Pin
David Salter5-Dec-02 23:39
David Salter5-Dec-02 23:39 
GeneralStoring images in to database Pin
femthink5-Dec-02 12:14
femthink5-Dec-02 12:14 
GeneralRe: Storing images in to database Pin
Richard Deeming5-Dec-02 23:29
mveRichard Deeming5-Dec-02 23:29 
GeneralRe: Storing images in to database Pin
Mark Conger6-Dec-02 3:39
Mark Conger6-Dec-02 3:39 
GeneralRe: Storing images in to database Pin
dev1t6-Dec-02 5:23
dev1t6-Dec-02 5:23 
GeneralRe: Storing images in to database Pin
Anonymous6-Dec-02 5:37
Anonymous6-Dec-02 5:37 
GeneralUsing SQL variables Pin
DamienL5-Dec-02 2:17
DamienL5-Dec-02 2:17 
GeneralRe: Using SQL variables Pin
Anonymous5-Dec-02 5:00
Anonymous5-Dec-02 5:00 
QuestionSqlCommand question? Pin
simon295-Dec-02 0:05
simon295-Dec-02 0:05 
AnswerRe: SqlCommand question? Pin
Paul Watson5-Dec-02 2:56
sitebuilderPaul Watson5-Dec-02 2:56 
GeneralCDatabase Pin
MFC is the Best4-Dec-02 21:49
MFC is the Best4-Dec-02 21:49 

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.