Melbourne Web Solutions|Design - Providing Web Design and Development for Brevard County, Florida
Contact Search Archive portfolio quotesubmit DesignVsDev AboutTheProcess Services

Using SQL RETURNING INTO to get newly created ID

by Nicole Tuesday, April 06, 2010 11:56 AM
A common problem for developers is how to get a newly created ID after a database insert. For example, let's say that we have two database tables. One table is called Customers and the other table is named Orders. The integrity relationship requires that a customer record exist before an order record for that customer is created. [More]