Oracle_00000

982902178@qq.com
wisdom1one@qq.com
wisdom_a@qq.com

qazsq@foxmail.com

修改用户名密码:
语句:alter user 用户名 identified by 密码; 如果密码中含有特殊字符,则需要将密码用双引号括起来。
example:
alter user prsp identified by “k2yAq^ud1”;

案例

  • 增加临时新字段
    alter table 表名 add 新字段名 clob;
  • 复制内容
    update 表名 set 新字段名=旧字段名;
  • 删除原有字段
    alter table 表名 drop column 旧字段名;
  • 修改回原字段名
    alter table 表名 rename column 新字段名 to 旧字段名;

增加临时新字段
alter table act_hi_taskinst add newlog varchar2(4000);
复制内容
update act_hi_taskinst set newlog = description_;
删除原有字段
alter table act_hi_taskinst drop column description_;
修改回原字段名
alter table act_hi_taskinst rename column newlog to description_;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值