Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 5 of 5 total |
Update or Insert record |
Thu, Mar 1 2007 3:43 PM | Permanent Link |
John | Hi.
I need to update a record if it exist, or if it does not exist then it must be inserted. How does such a query look like? |
Thu, Mar 1 2007 5:06 PM | Permanent Link |
Jason Lee | Hi John,
No built-in feature, but a workaround in Delphi is: UpdateQuery.ExecSQL; if UpdateQuery.RowsAffected = 0 then InsertQuery.ExecSQL; ~Jason Lee John wrote: > Hi. > > I need to update a record if it exist, or if it does not exist then it must be inserted. > > How does such a query look like? > |
Sat, Mar 3 2007 11:59 AM | Permanent Link |
"Johnnie Norsworthy" | "John" <eydunl@post.olivant.fo> wrote in message
news:A4F6261D-07B5-4790-81EF-16C7719A55B1@news.elevatesoft.com... > I need to update a record if it exist, or if it does not exist then it > must be inserted. I posted an interest in something like this a while back in .suggestions, and I believe Tim hinted it might be an addition in the future. Thread was "INSERTORUPDATE?" posted 2006-06-02 -Johnnie |
Sun, Mar 4 2007 4:16 PM | Permanent Link |
Steve Forbes Team Elevate | Hi John,
I would also vote for this extension to be included. MySQL has this, and I have found it to be a great timesaver. -- Best regards Steve "John" <eydunl@post.olivant.fo> wrote in message news:A4F6261D-07B5-4790-81EF-16C7719A55B1@news.elevatesoft.com... > Hi. > > I need to update a record if it exist, or if it does not exist then it > must be inserted. > > How does such a query look like? > |
Mon, Mar 5 2007 9:25 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Johnnie,
<< I posted an interest in something like this a while back in .suggestions, and I believe Tim hinted it might be an addition in the future. >> Yes, it's on the list. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |