Skip to Content.
Sympa Menu

freetds - [freetds] dbuse failure to connect to a database name containing numbers

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Shaun Craig <s.craig AT andronics.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] dbuse failure to connect to a database name containing numbers
  • Date: Thu, 26 Oct 2006 17:10:29 +0100

Hi,

I have no problems connecting to the following database 'Test' using dbuse()

#define DBNAME "Test"


*if* ( dbuse(dbconn_pool, DBNAME) == FAIL ) *
return* -1; *
else* *
return* 0;


However when I use a number in the database name it fails

#define DBNAME "Test2"


Any ideas why it fails? I can connect to 'Test2' through tsql and queries work fine.

Thanks,

Shaun.



  • [freetds] dbuse failure to connect to a database name containing numbers, Shaun Craig, 10/26/2006

Archive powered by MHonArc 2.6.24.

Top of Page