Hi, I am trying to import data from a text file using a SQLAssitant. But it is giving me an error as the string contains ",".
I am using this below syntax for inserting:
CREATE VOLATILE TABLE kumar_test (a INTEGER, b VARCHAR(100))
PRIMARY INDEX ( a );
INSERT INTO kumar_test(?,?)
my file contains:
1,a
2,b
3,c
4,d
5,cd
6,'e,f'
7, x's y
I am able to import first 5 records sucessfully. But, I am getting an error at record 6. here I have added a another record (7) to make sure I won't get an error in the future for this scenario.
Thanks!
Forums: