Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain dead today please help!
Message
From
03/04/2000 05:46:02
 
 
To
All
General information
Forum:
Oracle
Category:
PL/SQL
Title:
Brain dead today please help!
Miscellaneous
Thread ID:
00354205
Message ID:
00354205
Views:
62
HI!

I am a little brain dead today...
How can I pass this parameter p_mainkey to this function

OR do something like

'select * from assortm where mainkey='||"'"||p_mainkey||"'"

INTEGRATION.SQLTOFILE('select * from assortm where mainkey=p_mainkey');

Here is the code:

create or replace procedure TEST(p_mainkey in varchar2)
as
l_rows number;
begin
l_rows := INTEGRATION.SQLTOFILE( 'select * from assortm where mainkey='||"'"||p_mainkey||"'", ';', 'C:\temp\', 'assortm.dat' );
end;
/
Next
Reply
Map
View

Click here to load this message in the networking platform