GBase 8a
运维管理
文章
Gbase8a加载空格处理
发表于2025-11-12 16:46:4228次浏览0个评论
加载语句参数preserve blanks用于设定是否保留字段内容两端的空格,加载语句默认不保留空格。
加载语句示例:
drop database if exists test;
create database test;
use test;
create table t(a int, b varchar(20),c bigint);
(1)加载默认不保留空格
load data infile 'file://${ip_host}/opt/t.tbl' into table t fields terminated by '|';
评论
登录后才可以发表评论
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526