When csql is startet either from the command line or interactivly it will define some macros to reflect the database related configuration settings. Thees are:


Identifier for the provider/database system used where X can be
  • MSSQL for Microsoft SQL Server
  • SQLCE for Microsoft SQL Compact Edition
  • SYBASE for Sybase ASE SQL Server
  • ORACLE for Oracle
  • IBMDB2 for IBM/DB2


The name of the server/datasource of the connection.


The initial database/catalog of the connection.


The name of the SQL Server login of the database connection.


The current version of csql with two digits for the major and minor version e.g. for version 1.2.x.x the definition is 0102.

Last edited Dec 23, 2010 at 12:34 PM by SqlService, version 1


No comments yet.