Hi All,
I'm new to MariaDB. Is there a similar MERGE (update/insert) in MariaDB Class or similar?
Marc Vanzegbroeck wrote:Frances,
Do you mean the update query?
https://dev.mysql.com/doc/refman/8.0/en/update.html
oCn:Insert( <ctable>, <fieldlist>, <aValues>, .T. ) // last param .T.
nageswaragunupudi wrote:All this is simpler if you use FWH Maria DB
- Code: Select all Expand view
oCn:Insert( <ctable>, <fieldlist>, <aValues>, .T. ) // last param .T.
If the last param is .T., this will update in case of duplicate or insert if it is not duplicate.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 86 guests