Explain interface files

In this article I explain interface files
  • 1920

Introduction

Interface Files :

The interfaces file is usually named sql.ini. The interfaces file is like an address book. It lists the name and address of every database server known to Open Client applications on your machine. When you use an Open Client program to connect to a database server, the program looks up the server name in the interfaces file and then connects to the server using the address. 'sql.ini' file is used to maps to an alias name to an ip address and a port. This file can be updated when needed. Connection string through which AseConnection object uses the interface file is

DSURL='file://c:\sybase\ini\sql.ini?SQL_MIDOFF_OPC1';Database=database_name;uid=user_name;Password=password;APP=app_name;

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.