Chinaunix首页 | 论坛 | 博客
  • 博客访问: 209276
  • 博文数量: 28
  • 博客积分: 128
  • 博客等级: 民兵
  • 技术积分: 400
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-19 13:05
个人简介

生活的内容不全是工作,工作只是生活的一部分;享受生活,热爱工作!

文章分类
文章存档

2015年(1)

2014年(23)

2011年(4)

分类: Sybase

2014-06-27 15:39:11

最近有用户使用isql导入脚本的方式Load数据到IQ中时,出现下面错误:
(0 rows affected)Msg 21, Level 14, State 0:SQL Anywhere Error -1013027:
Number of bytes (2) for a column from an input filehas exceeded the

maximum allowed (512).?-- (db_RecScanner.cxx 725)?


出现该问题原因:isql 命令里字符转义出现问题,T-SQL 为了保持同ASE 的兼容性,需要临时设置该选项。


解决办法:在Load table命令前加上 set temporary option escape_character='on'; 或者用dbisql工具进行load table。


阅读(3311) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~