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.
收起