Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> ProC problem: exec sql connect
Hi all,
I am trying to connect to a remote database from a ProC
procgram, but hit a problem.
I used this piece of code:
char localstr[200];
sprintf(localstr,"user/password_at_tnsname");
exec sql connect :localstr;
and it core dumps with ILL signal (illegal instruction).
I tried running sqlplus with the same user/password_at_tnsname combination, and it works. So the tnsname part is OK.
I'm using Oracle 7.3.4 on Digital Unix 4.0F.
Any help will be much appreciated.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Oct 20 1999 - 03:58:00 CDT
![]() |
![]() |