Here 'customer' and 'item' are table names, this is external .txt file. I have to read this file and write the update statement to update the customer and update the corresponding values of table, the same applicable to to 'item' table as well and this I have to do based on primary key I have mentioned in the .txt file. what is best approach to do this.[customer] customer_id=121 # this is primary key. customer_name=abc customer_age=25 [item] item_id=222 # this is primary key. sugar=100 stock=yes
In reply to reading txt and update into database table by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |