on 2008 Nov 19 10:29 AM
Hi,
when iam applying pathces iam getting dump,i want to delete the entires on pat01 table,whats the command to see the tables and delete the entry on pat01,02,03 tables.
Thanku
Request clarification before answering.
Hi kumarraju,
Another way, which may be faster performance wise, is "import from /dev/null into <table name>". This is faster as it skip deleting the rows one by one.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumarraju,
To get the tables in a database you can use the following command
db2 "LIST TABLES"
The LIST TABLES have many options, with which you can restrict what will be returned. Execute the command to see them:
db2 "? LIST TABLES"
Besides, pay attention to the Type column, which indicates whether the object is a table or a view.
Regarding your second question, I can't follow you: do you want to delete the entries in a table ?
Best regards, Edgardo
db2 delete from <Table Name>
regards
dEE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
iam unable lo login sap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
30 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.