Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> PL / SQL Variable

PL / SQL Variable

From: David Williams <david484_at_hotmail.com>
Date: Tue, 7 May 2002 14:30:26 +0000 (UTC)
Message-ID: <05b0498f4b01f3bba26ecdfa63d24a9e.36554@mygate.mailgate.org>


I am trying to write a SQL script that will access and read a text file (comma or tab separated values) and use the values from the text file as parameters or variables in my SQL code. For example:

select part_no,
sub_part_no,
unit_measure,
from inventory_part_table
where part_no = '&Part_No'

&Part_No is my variable. The code needs to use the text file for variable input. Any ideas and if so, what would the code look like.

Thank you

David

-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Received on Tue May 07 2002 - 09:30:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US