Importing Part of a Column of Data
Hello there. Oracle 11g PLSQL question
I'm wondering how I can import a partial amount of data from a CSV column.
Let's say that the Data is:
XXX.YY.ZZZZ what I want to insert though is just XXX.
So I need to I believe take the piece of data and read it up to the first period in the name.
I'm just stumped as how to do that.
I think I will have a result of
INSERT INTO TABLE (col001,col002) VALUES (some_function(XXX.YY.ZZZZ),'hello');
So I'm just not sure what thefunction would be to do this though.
Any help appreciated.