ServiceName instead of SID

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
Posts: 4
Joined: Sun 30 Sep 2007 21:56

ServiceName instead of SID

Post by Peca » Fri 22 Apr 2011 15:12

Hi, we use D2007 and DBExpress OracleDirect ver. 2.8.

We can connect to database by its SID, like this way server:port:sid

Is it possible to connect this database by its service name? We tried replace sid by servicename, but it not work.


Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 26 Apr 2011 12:13


Support for connection with using Service Name in the Direct mode was added starting from the 4.80.24 version of dbExpress driver for Oracle.
To connect using ServiceName, you should use the following syntax:


Post Reply