H
h4hrr
Hi all
I am trying to write a code for insert statement with JDBC. But my
problem is related to file reading. I have a *.sql file (or simple text
file) with column names and their datatypes, eg.
CREATE TABLE test (AA DATE,
BB FLOAT,
CC VARCHAR2(256),
DD NUMBER(38) )
How can i read each column name and their corresponding type and store
them for testing later while creating the insert statement. Do i have
to do pattern matching;
any help wud be appreciated..
I am trying to write a code for insert statement with JDBC. But my
problem is related to file reading. I have a *.sql file (or simple text
file) with column names and their datatypes, eg.
CREATE TABLE test (AA DATE,
BB FLOAT,
CC VARCHAR2(256),
DD NUMBER(38) )
How can i read each column name and their corresponding type and store
them for testing later while creating the insert statement. Do i have
to do pattern matching;
any help wud be appreciated..