A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
How to insert a single order row and multiple order detail rows into order details table?
Joined: Aug 02, 2012
Aug 22, 2013 00:20:43
The issue is accuracy. Could you show me the SQL of this query?
OrderID CustomerID EmployeeID PurchaseDate PurchaseTime PurchaseDate Reason
OrderDetailID OrderID ProductID GrossSales Quantity Discount NetSales WarrantyExpirationDate
Joined: May 26, 2003
Aug 23, 2013 08:05:23
How about you write the SQL and we provide comments on it? We like to help people learn here and giving you the whole code doesn't feel like that.
As a hint, take a look at updateBatch() so all the SQL goes in under the same transaction.
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: How to insert a single order row and multiple order detail rows into order details table?
TableModel issue in JTable
JTable Row Deletion
compare csv data with table rows
Sun's feelings about stored procedures
[eckel] on string initialization
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014