IT培训教育数据库db2 9.5

TD@表示什么意思?

db2 -td@ -f /home/db2inst1/sql/insert.sql
参与4

3同行回答

drdb2drdb2系统工程师se
td@ tells the command line processor to define and to use @ as the statement termination charactersee an example:[db2inst1@q1 ~]$ db2 "select 1 from dual"1          -----------          1&nb...显示全部
td@ tells the command line processor to define and to use @ as the statement termination character
see an example:

[db2inst1@q1 ~]$ db2 "select 1 from dual"

1         
-----------
          1

  1 record(s) selected.

[db2inst1@q1 ~]$ db2 "select 1 from dual@"
SQL0204N  "DB2INST1.DUAL@" is an undefined name.  SQLSTATE=42704
[db2inst1@q1 ~]$ db2 -td@ "select 1 from dual@"

1         
-----------
          1

  1 record(s) selected.收起
互联网服务 · 2014-12-25
浏览1716
abcdexabcdex网站架构师bdbs
回复 2# zjBoy      如果准备使用匿名块应该怎么写?显示全部
回复 2# zjBoy


     如果准备使用匿名块应该怎么写?收起
IT培训教育 · 2014-12-25
浏览1485
zjBoyzjBoy技术经理北京鼎信华铭
td@代表的意思是后面的insert.sql是一个存储过程,@的意思是可以关闭当前命令行的回显显示全部
td@代表的意思是后面的insert.sql是一个存储过程,@的意思是可以关闭当前命令行的回显收起
互联网服务 · 2014-12-25
浏览1538

提问者

abcdex
网站架构师bdbs

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2014-12-24
  • 关注会员:1 人
  • 问题浏览:11296
  • 最近回答:2014-12-25
  • X社区推广