Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

To: 2ndDivisionVet

If the triggering statement of a BEFORE statement trigger is an UPDATE or DELETE statement that conflicts with an UPDATE statement that is running, then the database does a transparent ROLLBACK to SAVEPOINT and restarts the triggering statement. The database can do this many times before the triggering statement completes successfully. Each time the database restarts the triggering statement, the trigger fires. The ROLLBACK to SAVEPOINT does not undo changes to package variables that the trigger references. To detect this situation, include a counter variable in the package.

7 posted on 07/23/2014 11:42:23 PM PDT by Dagnabitt (Amnesty is Treason. Its agents are Traitors.)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Dagnabitt

Ouch!


8 posted on 07/23/2014 11:52:19 PM PDT by 2ndDivisionVet (The most dangerous man to any government is the man who is able to think things out for himself.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt

What? If that is a real sentence of instruction, then I feel as dazed and confused as Madam Shrek here. That sentence was never meant to be diagrammed, IMO.


9 posted on 07/23/2014 11:56:51 PM PDT by lee martell
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt

But . . . . But . . . . We was told dat dat Bell Curve books was nots tru an is raceist besides. An it aint kools to be acting likes whitey and learnings stuff in school.


10 posted on 07/23/2014 11:57:55 PM PDT by fella ("As it was before Noah so shall it be again,")
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt

Are you speaking in cursive?


14 posted on 07/24/2014 12:02:51 AM PDT by Still Thinking (Freedom is NOT a loophole!)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt
Anyone for a game of "Hungry Hippos?"


15 posted on 07/24/2014 12:05:28 AM PDT by shibumi (Cover it with gas and set it on fire.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt
If the triggering statement of a BEFORE ... include a counter variable in the package.

I don't know how many people here can understand data base terminology (DBase II here)) but they don't have to be coders to understand juxtaposition... That was brilliant!! I am still smiling. Am I bad?

16 posted on 07/24/2014 12:23:40 AM PDT by SandwicheGuy (*The butter acts as a lubricant and speeds up the CPU*ou)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt

Yup, its real. Lots of technical documentation is written just like that for the techies that consume it. There’s no way to write it much simpler in many cases.


19 posted on 07/24/2014 1:06:18 AM PDT by lefty-lie-spy (Stay metal. For the Horde \m/("_")\m/ - via iPhone from Tokyo.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt
To detect this situation, include a counter variable in the package.

Why didn't you just do that in the first place? Sheesh! :)

22 posted on 07/24/2014 2:53:25 AM PDT by raybbr (Obamacare needs a death panel.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt

Better work on understanding cursive writing before you try tackling nested ifs.


27 posted on 07/24/2014 4:05:12 AM PDT by Old Yeller (Truth is the enemy of our dysfunctional government.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: Dagnabitt
If the triggering statement of a BEFORE statement trigger is an UPDATE or DELETE statement that conflicts with an UPDATE statement that is running, then the database does a transparent ROLLBACK to SAVEPOINT and restarts the triggering statement. The database can do this many times before the triggering statement completes successfully. Each time the database restarts the triggering statement, the trigger fires. The ROLLBACK to SAVEPOINT does not undo changes to package variables that the trigger references. To detect this situation, include a counter variable in the package.

Well duh.

32 posted on 07/24/2014 4:27:42 AM PDT by Maceman
[ Post Reply | Private Reply | To 7 | View Replies ]

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson