在SQL/PLUS中,用以下语句可以实现用户的数据导出:
$exp scott/tiger@test owner=scott file=scott_2007_10-6.dmp;
但在用过程实现时,却被告知编译错误:
create or replace procedure t2 as
begin
$exp scott/tiger@test owner=scott file=scott_2007_10-6.dmp;
end t2;不知怎样才能用过程来实现数据的导出?
$exp scott/tiger@test owner=scott file=scott_2007_10-6.dmp;
但在用过程实现时,却被告知编译错误:
create or replace procedure t2 as
begin
$exp scott/tiger@test owner=scott file=scott_2007_10-6.dmp;
end t2;不知怎样才能用过程来实现数据的导出?
你可以在jsp中调用批处理命令执行导出。