Posted: Sat Jun 25, 2016 12:19 pm Post subject: Delete and Import fresh set of record on DB2
Novice
Joined: 20 Jun 2016 Posts: 11 Location: USA
Hello
I have a table that contains 15K records.....
I want esql command at compute node to delete the content of that table....and import a batch record another 15 K (insert fresh set of record) to the table .< the imported file saved as txt> on a specific folder .
Posted: Sun Jun 26, 2016 11:50 am Post subject: Re: Delete and Import fresh set of record on DB2
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
ibmpro wrote:
I want esql command at compute node to delete the content of that table....and import a batch record another 15 K (insert fresh set of record) to the table .< the imported file saved as txt> on a specific folder .
What you want and what you're going to get are 2 different things.
There isn't "an esql command" for every single task you've been asked to do, which from the number of very simplistic posts you're posing is what you're looking for.
You need to write code; something I'm sure someone is paying you to do. Try thinking for yourself, trying some stuff and posting here when you have a specific problem rather than "I don't know what to do and can't be asked to find out". _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum