Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to exec script.sql inside DB2 interactive input (DB2 =>)
I can only initiate db2 using krun -- db2
krun -- db2
And for some reason krun -- db2 -vf script.sql doesn't seem to work.
krun -- db2 -vf script.sql
Only interactive mode works for me. Help.
您可以使用 GET_LINE 内置模块来实现 Oracle 兼容性。它在 Express-C 版本中不可用。
http://pic.dhe.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.apdv.sqlpl.doc/doc/r0053534.html