If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > How to read Excel from PL/SQL?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-29-09, 12:17
sunnydotmoon sunnydotmoon is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
Question How to read Excel from PL/SQL?

Can you anyone tell me how to read the first column of Excel file and display the same using PL/SQL?

For example: Excel file contains

Employee id:
1
2
3
4
5

Instead of using the following SQL command in PL/SQL
select * from ps_vendor a
where a.setid = '007' and a.vendor_id in ('1', '2', '3', '4', '5');

I would like to open the excel file read it and provide the same as input in the sql statement.

Any idea??
Reply With Quote
  #2 (permalink)  
Old 08-03-09, 13:25
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,613
I moved your thread from Adabas to Oracle. You're much more likely to get useful answers here.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #3 (permalink)  
Old 08-03-09, 13:41
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,415
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #4 (permalink)  
Old 12-15-10, 02:57
CoachOrlando CoachOrlando is offline
Registered User
 
Join Date: Dec 2010
Location: United States
Posts: 1
Smile

Thanks...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On