
oracle 的exp为什么导出0行数据
SQL>createtablelala(inumber);Tablecreated.SQL>insertintolalavalues(5);1rowcreated.SQL...
SQL> create table lala(i number);
Table created.
SQL> insert into lala values(5);1
row created.
SQL> host exp test/m123@orcl file=/home/oracle/test_t.dmp log=/home/oracle/test_t.log tables=lala
About to export specified tables via Conventional Path ...
. . exporting table LALA 0 rows exported
Export terminated successfully without warnings.
为什么是0行啊,我导出其他表也一样是0行 展开
Table created.
SQL> insert into lala values(5);1
row created.
SQL> host exp test/m123@orcl file=/home/oracle/test_t.dmp log=/home/oracle/test_t.log tables=lala
About to export specified tables via Conventional Path ...
. . exporting table LALA 0 rows exported
Export terminated successfully without warnings.
为什么是0行啊,我导出其他表也一样是0行 展开
展开全部
我告诉你啊,因为你insert后没提交,所以只在你当前的session里显示插入成功了,当你insert 后成功后,还要再写一个commit,确保东西保存到数据库中
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询