当前所在位置:珠峰网资料 >> 计算机 >> Oracle认证 >> 正文
ORA-01480错误与&特殊字符的输入
发布时间:2010/8/20 10:46:28 来源:城市学习网 编辑:ziteng
  检查这个字符按串和对应的错误。发现很怪异,是ORA-01480错误。
  看看这个错误:
  01480, 00000, "trailing null missing from STR bind value"
  // *Cause:    A bind variable of type 5 (null-terminated string) does
  //                 not contain the terminating null in its buffer.
  // *Action: Terminate the string with a null character
  原来字符串中包含&这个特殊字符,所以我们需要“处理”这个特殊的字符。
  可将CHR(38)可以将这个&特殊字符串转换。
  通过这种转换,含有多个这样特殊字符的字符串可以成功插入数据库。
广告合作:400-664-0084 全国热线:400-664-0084
Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号
珠峰网 版权所有 All Rights Reserved