• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Batch inserts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch inserts


  • Subject: Re: Batch inserts
  • From: Mark Morris <email@hidden>
  • Date: Wed, 19 Dec 2007 11:57:28 -0600

I've never seen this insert syntax. Is this new, or have I just missed it?

Thanks,
Mark

On Dec 19, 2007, at 11:45 AM, Charles Koppelman wrote:

So ERX provides us with a great way to do massive updates
(ERXEOAccessUtilities.updateRowsDescribedByQualifier). Is there a way that
anyone on this list has come up with to do massive INSERTs?


Looking at the code, it seems that inserts are done exclusively through
insertRow methods, meaning one insert statement per row. However, SQL
supports multiple inserts into the same table like:


INSERT INTO MY_TABLE
(ID, COLUMN_A, COLUMN_B)
VALUES (1, 'A', 'B'),
      (2, 'C', 'D'),
      (3, 'E', 'F');

Has anyone implemented this?

Charles Koppelman

Programmer
Youth For Understanding, USA

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Batch inserts
      • From: Galen Rhodes <email@hidden>
References: 
 >Batch inserts (From: Charles Koppelman <email@hidden>)

  • Prev by Date: Unable to locate WOOpenURL on your computer
  • Next by Date: Re: Batch inserts
  • Previous by thread: Batch inserts
  • Next by thread: Re: Batch inserts
  • Index(es):
    • Date
    • Thread