Connecting Centura 1.5.1 to SQL Server 'on the fly'

comp.databases.gupta (1995-2015)
Niels Kastelijn

Connecting Centura 1.5.1 to SQL Server 'on the fly'

Post by Niels Kastelijn » 01 Jul 2002, 16:33

 Posted by:  Niels.K...@atosorigin.com (Niels Kastelijn) 

Hi everyone,

Currently, i'm using an ODBC-DSN to connect to a SQL Server 2K
database (in the Windows Control Panel). But now i want to change this
into a 'on-the-fly'-connection to the same database - without having
to set up an ODBC-DSN. I have been told that this could be done using
SQL/API, but i don't have any clue on how to manage this. Can someone
provide me with some sample-code on how to do this?

Let's say, for example, that i want to get some data from the
'authors'-table in the 'pubs'-database; and that i want to connect
without using the ODBC-DSN.

Kind regards,
Niels Kastelijn
Atos Origin
(mailto:niels.k...@atosorigin.com)

Return to “comp.databases.gupta”

Who is online

Users browsing this forum: [Ccbot] and 4 guests