Posted by: Niels.K...@atosorigin.com (Niels Kastelijn)
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.