db2 9.7 / windows 2008
hi, i am trying to write a procedure to export data from a table. I can use the export utility directly, however, the business requirement to create a stored proc.
As i never did the development, I end up with this.
Create procedure MI@
language sql
begin
CALL SYSPROC.ADMIN_CMD('export to c:\temp\my.del of del select * from emp');
end@
can you please correct assist me.
Thanks.
hi, i am trying to write a procedure to export data from a table. I can use the export utility directly, however, the business requirement to create a stored proc.
As i never did the development, I end up with this.
Create procedure MI@
language sql
begin
CALL SYSPROC.ADMIN_CMD('export to c:\temp\my.del of del select * from emp');
end@
can you please correct assist me.
Thanks.