0

I want to exec script.sql inside DB2 interactive input (DB2 =>)

I can only initiate db2 using krun -- db2

And for some reason krun -- db2 -vf script.sql doesn't seem to work.

Only interactive mode works for me. Help.

4

1 回答 1

0

您可以使用 GET_LINE 内置模块来实现 Oracle 兼容性。它在 Express-C 版本中不可用。

http://pic.dhe.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.apdv.sqlpl.doc/doc/r0053534.html

于 2012-12-01T20:41:01.400 回答