Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

stored procedure - export

$
0
0
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.

Viewing all articles
Browse latest Browse all 13329

Trending Articles