Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Insert the data into a table from notepad

skudSep 6 2013 — edited Sep 6 2013

Hi,

My oracle version is 10g.

I've a table contain 5 columns. From the below data( from notepad) i want to insert 0003,7901618382,1234567891,06/09/2013 and 11:39. I need a procedure or query. The values are seperated by space (' ') not comma(','). Your solution will be appreciate. Hope this answer will be very helpful to others.

Table structure:

SQL> desc xlink_rec;

Name                                      Null?    Type

----------------------------------------- -------- ------------

DEVICE_CODE                                        NUMBER

BADGE_ID                                              NUMBER

READER_ID                                          NUMBER

READER_DATE                                        VARCHAR2(15)

READER_TIME                                        VARCHAR2(10)

0003 0 A 7901618382 1234567891 06/09/2013 11:39 000000

0003 0 A 7901618382 1234567891 06/09/2013 11:39 000000

0003 0 A 4503111076 1234567891 06/09/2013 11:40 000000

0003 0 A 4503105254 1234567891 06/09/2013 11:40 000000

0003 0 A 7901618382 1234567891 06/09/2013 11:45 000000

0003 0 A 4503111076 1234567891 06/09/2013 11:51 000000

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2013
Added on Sep 6 2013
5 comments
1,973 views