cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Drop few columns before inserting into Oracle table

Siva_Venna
Contributor

I am reading data from csv file before inserting the data into Oracle table,I want to delete or omit unnecessary columns. How to achieve this?Thanks in advance

8 REPLIES 8

cstewart
Former Employee

If you put a mapper Snap in between, you can put the source fields in the source column, if you put no target for those fields, it will drop them in the data flow. Use the pass-through option to get all other fields passed to the output without having to put them all in the table

Siva_Venna
Contributor

Thanks @cstewart. It worked.
I am getting below error while inserting data into Oracle table :

Invalid timestamp format:
Resolution:
Please check for valid timestamp format.

My coulmn datatype is DATE.
The timestamp snaplogic fetching : 2019-03-20T13:03:45+00:00
how to convert the this timestamp to Oracle DATE datatype?

dmiller
Admin Admin
Admin

This post might help: SnapLogic DateTime Conversion Guidelines


Diane Miller
Community Manager

Thank you @dmiller
that post helped me.
I want to truncate the table before loading/ inserting the data for every execution. is it possible?