Brian,
I use tclodbc to run queries against SQL Server 2008 and I don’t use ODBC System Data Source.
If you want to use SQL Server Authentication you can set connection string like this (variables server, database, uid, pwd set to server name, database name, user id and password):
set connect_string “Driver={SQL Server};Server=$server;Database=$database;
Uid=$uid;Pwd=$pwd;”
If you want to connect using integrated security then set connection like this:
set connect_string “Driver={SQL Server};server=$server; database=$database;
Integrated Security=True;Trusted_Connection=Yes”
I prefer the latter – that way I don’t need to store password anywhere.
Then you connect to the database like this:
set db [database connect db $connect_string]
Hope this helps