Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: dhrobertsonHi there
could someone tell me how I can go about do the following?
lets say I have a table of 50 rows with 4 columns: a,b,c,d
I want to insert these 50 rows into an oracle database table called table1 with column names a,b,c,d using the DB Execute node.
what syntax do I use to do this for multiple columns?
for a single column this seems to work
SQLNonSelect("insert table1 set a = :1", 'a')
but how can I insert multiple columns at once.
then, to update said table....
how do I update the table based on looking up records that may have changed?
there seems to be very limited information on how to use sqlselect and sqlnonselect statements so am blundering around in the dark a bit.
thanks
douglas