利用TADOQUERY执行插入语句
insert into dm_tab(dmzm) values(:dmzm)
在执行前正确设置了参数。
在一台机器上正常运行;在另一台机器上却抛出错误:
ORA-02005: implicit (-1) length not valid for this bind or define datatype 
以下是ORACLE的有关文档对该错误的解释及解决办法。
Cause: A negative length for the define variable was passed to a define function. Action: An explicit, non-negative, length parameter must be passe在DELPHI中检查了TParameter的SIZE属性,设置确实是-1,难道要设置其长度吗?那有些机器上怎么又表现正常呢?