A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Feb 17, 2008
May 13, 2010 06:24:14
I have a scenario described as follows:
I have 2 UPDATE statements and 2 INSERT statements.
Lets name UPDATE statements as U1 and U2.
Lets name INSERT statements as I1 and I2.
Now what I want to do is:
If U1 fails I1 should not execute but I2 should execute.
If U2 fails both I1 and I2 can execute.
How to achieve this?
Joined: Oct 13, 2005
May 13, 2010 07:02:25
You are more likely to get a helpful answer if your
tells us what the question is about.
Joined: May 26, 2003
May 13, 2010 17:08:36
Try catch blocks? Try to map it out here and we can help where you get stuck.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: JDBC Question
Mail Server - Database Design
question on garbage collection........
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013