Hello everyone,
Just wondering if someone could help me with this. I'm working on a JDBC assignment but cannot quite figure out how to read in the required file.
Some example lines are:
insert into Transactions (YY_MM_DD, HH_MM_SS, Kind, Account, Name, Street, Suburb, Postcode)
values ('07/02/20', '16:42:46', '(', 'S017', 'Strathfield Car Radios ', '689 South Road ', 'Black Forest SA ', 5035);
insert into Transactions (YY_MM_DD, HH_MM_SS, Kind, Account, Name, Street, Suburb, Postcode)
values ('07/02/20', '16:42:58', '(', 'S018', 'Strathfield Car Radios ', 'Kiosk 4 Westfield ', 'Kilkenny SA ', 5009);
How would I be able to save each value into a string so that I could use java code to execute queries? Since I have to apply it to a table called NewCustomers. If anyone wants me to post the question I will.
Thanks
Just wondering if someone could help me with this. I'm working on a JDBC assignment but cannot quite figure out how to read in the required file.
Some example lines are:
insert into Transactions (YY_MM_DD, HH_MM_SS, Kind, Account, Name, Street, Suburb, Postcode)
values ('07/02/20', '16:42:46', '(', 'S017', 'Strathfield Car Radios ', '689 South Road ', 'Black Forest SA ', 5035);
insert into Transactions (YY_MM_DD, HH_MM_SS, Kind, Account, Name, Street, Suburb, Postcode)
values ('07/02/20', '16:42:58', '(', 'S018', 'Strathfield Car Radios ', 'Kiosk 4 Westfield ', 'Kilkenny SA ', 5009);
How would I be able to save each value into a string so that I could use java code to execute queries? Since I have to apply it to a table called NewCustomers. If anyone wants me to post the question I will.
Thanks
Comment