Page 1 of 1

direct mode in oracle suport server_name

Posted: Thu 31 Mar 2011 14:40
by daizhicun
in direct mode at oracle;


sid mode:
uniconnection1.Server:='127.0.0.1:1521:SID';

but i don't know how to set :SERVICE_NAME

it is still like SID MODE?
uniconnection1.Server:='127.0.0.1:1521:SERVICE_NAME' ?

Posted: Fri 01 Apr 2011 08:21
by AlexP
Hello,

For connection with using Service Name, you should use the following syntax:
uniconnection1.Server:= '127.0.0.1:1521:sn=SERVICE_NAME';
This feature is available starting with UniDAC 3.60.0.15

Posted: Fri 01 Apr 2011 13:09
by daizhicun
ok,IT IS OK!

Posted: Wed 06 Apr 2011 07:15
by AlexP
Hello,

It is good to see that this problem was solved. If any other questions come up, please contact me.