大G大J们,小弟是个oralce新手,在使用的过程中遇到了不懂的问题,想请教下。。例如我想插入一条数据:
1 insert into srudent
2 (name,id,class)
3 values
4 ('andy',200701,'class1');问题出来了,在1中,我的表应该是student的,所以我就用edit来修改SQL>edit
Wrote file afiedt.buf
78
1 (选择修改第一行)
insert into srudent (系统给出原来的第一行作为参照)
insert into student (修改后)
?
78
wq (保存)
1 insert into srudent (问题在此,修改的内容没被保存)
2 (name,id,class)
3 values
4 ('andy',200701,'class1')
我是菜鸟,问题我已经尽量详细的介绍了,希望大家能帮忙给我个答案。。
为什么我没能将修改的内容保存呢?!
1 insert into srudent
2 (name,id,class)
3 values
4 ('andy',200701,'class1');问题出来了,在1中,我的表应该是student的,所以我就用edit来修改SQL>edit
Wrote file afiedt.buf
78
1 (选择修改第一行)
insert into srudent (系统给出原来的第一行作为参照)
insert into student (修改后)
?
78
wq (保存)
1 insert into srudent (问题在此,修改的内容没被保存)
2 (name,id,class)
3 values
4 ('andy',200701,'class1')
我是菜鸟,问题我已经尽量详细的介绍了,希望大家能帮忙给我个答案。。
为什么我没能将修改的内容保存呢?!
commit;
应该输入在哪个位置呢?
我试了不行,edit应该是调用vi编辑器的,应该是wq保存吧!!!
先按esc进入命令格式,wq保存退出
在edit里和shell的vi也有一点点的差别。。