sybase load示例
LOAD TABLE ticket_type
(ticket_type ,
ticket_type_name '\x0d\x0a')
FROM 'C:\\bcpData\\ticket_type.txt'
QUOTES OFF
ESCAPES OFF
FORMAT ASCII
DELIMITED BY '\x09'
ON FILE ERROR CONTINUE;
COMMIT;
(ticket_type ,
ticket_type_name '\x0d\x0a')
FROM 'C:\\bcpData\\ticket_type.txt'
QUOTES OFF
ESCAPES OFF
FORMAT ASCII
DELIMITED BY '\x09'
ON FILE ERROR CONTINUE;
COMMIT;
换行符写在最后一个字段后面。
posted on 2011-09-07 17:17 WildFlower 阅读(757) 评论(0) 编辑 收藏 举报