1. DB2CMD //Go to db2 command line process
2. db2 connect to DATABASENAME user UID using PASSWORD
2. db2 select * from TABLE|VIEW
3. db2 -f -z//execute a sql file[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/98828/viewspace-838971/
,如需转载,请注明出处,否则将追究法律责任。