Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Grouping multiple statements into a single string |
Author |
Message |
|
Posted : 2006-07-28 08:38:49 |
Is it possible to use the QODBC driver to group mulitple INSERTs or UPDATEs into a single string?. I'd like to be able to combine "INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('Line 1',1)" and "INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('Line 2',1)" into a single string received once by the driver but executed as separate INSERTs. Aside from building a loop and iterating through each statement individually, is there a means to properly group statements without generating an "Unexpected extra token" error? |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-07-28 12:10:42 |
No, each SQL Statement needs to be executed on its own. This is a SQL requirement. |
|
|
|
|