Creating an Oracle UPDATE Statement from Excel rows

P

PSULionRP

I've been given an Excel spreadsheet with 122 record UPDATEs. I have tried a
CONCATENATE Statement, see below. My one problem is getting the "/" into my
Oracle statements to separate them so that it will properly process the
multiple UPDATE statements.

Can someone help me with this formula??? I'm not sure how to carriage retun
so that the "/" appears in the first column. This is where Oracle wants it
when I copy and paste my values into a SQL Script.

Any help is GREATLY appreciated and Thanks in advance for your review and
hopeful for a reply.

PSULionRP

=CONCATENATE("UPDATE TableName SET ColumnName = ", "'", TRIM(E2), "'", "
WHERE KeyColumn = ", B2,
" /")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top