Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / August 2008



Tip: Looking for answers? Try searching our database.

Urgent:How can I connect to Oracle database?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mobydick02@gmail.com - 29 Aug 2008 18:48 GMT
Hi, all,

I know how to connec to ODBC database (SQL server), the codes are as
follows:
/*************************************************/
proc sql;
connect to odbc (password=*** userid=*** dsn=);
select * from connection to odbc (select * from XXX); /**XXX is a
table name in SQL server, usually, it will be like the
dbo.tablename;**/
quit;
/***********************************************/

But now I have to retrieve data from Oracle database.
I tried to use the following codes:
/**********************************************/
proc sql;
connect to oracle (password=*** userid=*** path='PPPPP');
select * from connection to odbc (select * from YYY);
quit;
/**********************************************/
Here I have three questions:
1. Are the above codes good enough for a simple query?
2. What should be the path? How I can find out the path?
3. what's the convention for the Oracle table name YYY?

Thanks a lot.
Lucy
Gregory Weston - 29 Aug 2008 19:49 GMT
In article
<6fdcc33a-6fd3-40ab-a8c6-58729e6f0734@w7g2000hsa.googlegroups.com>,

> Hi, all,
>
[quoted text clipped - 24 lines]
> Thanks a lot.
> Lucy

I think you've posted to the wrong group and I'm positive you've left
out information that would help anyone help you.

Signature

"Harry?" Ron's voice was a mere whisper. "Do you smell something ... burning?"
  - Harry Potter and the Odor of the Phoenix

Jolly Roger - 29 Aug 2008 20:43 GMT
> In article
> <6fdcc33a-6fd3-40ab-a8c6-58729e6f0734@w7g2000hsa.googlegroups.com>,

(snip)

> I think you've posted to the wrong group and I'm positive you've left
> out information that would help anyone help you.

Your clue was "googlegroups.com".

Signature

Send responses to the relevant news group rather than to me, as
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.