当前位置:网站首页>SAP HANA 新增一列时报错详解
SAP HANA 新增一列时报错详解
2022-08-03 05:22:00 【鱼丸丶粗面】
1 概述
2 效果演示
-- 新建一张测试表
create column table stu_info (
sno int,
sname varchar(100)
);
-- 新增一列,不带括号,报错!
alter table stu_info add sex varchar(2);
-- 新增一列,带括号,执行成功!
alter table stu_info add (sex varchar(2));
3 扩展
3.1 删除一列
alter table stu_info drop(sex);
3.2 修改一列
alter table stu_info alter(sname varchar(200) comment '扩大精度');
边栏推荐
猜你喜欢
随机推荐
7.16(6)
陆运信息系统——班列项目总结(一)
Flask,7
跨域错误的原因及处理方法
该描述怎么写成SQL语句
三角形个数
嵌入式实验二注意点
ansible的安装和部署详细过程,配置清单基本操作
D-PHY
MySQL EXPLAIN 性能分析工具详解
Go (一) 基础部分2 -- if条件判断,for循环语句
A-B数对问题|UPC-Count Interval|洛谷-P1102A-B数对
icebreaker的垃圾话学习指南
Execute the mysql script file in the docker mysql container and solve the garbled characters
Playing with Markdown(2) - Extraction and Manipulation of Abstract Syntax Trees
图的最短路径的核心——松弛技术
Sqli-labs-master shooting range 1-23 customs clearance detailed tutorial (basic)
7.18(7)
Browser multi-threaded off-screen rendering, compression and packaging scheme
中国水产养殖行业市场投资分析及未来风险预测报告2022~2028年









