在oracle里添加一列以后还能在那一列添加数据吗

[复制链接]
查看11 | 回复3 | 2012-8-18 16:33:09 | 显示全部楼层 |阅读模式
可以啊,直接update相关的记录就可以...
回复

使用道具 举报

千问 | 2012-8-18 16:33:09 | 显示全部楼层
alter table tablename add columnname type;egg:在mem表中加一列member_id,mem表中id是主键egg:add table mem add member_id number(4)update mem set member_id=&value where id=mem表中ID的值...
回复

使用道具 举报

千问 | 2012-8-18 16:33:09 | 显示全部楼层
update tablename set 字段1=值,字段2=值 where 主键=值;update student s set s.name='张山',s.age=20 where s.id=23;...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行