Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dsn/dsnless connection string

Status
Not open for further replies.

gusset

Technical User
Mar 19, 2002
251
GB
i have been told to use ODBC instead of a dsnless connection string as it is safer.

is this true? what danger is presented by using a dsnless connection string?

thanks

gusset
 
If you use a DSN less connection string the ODBC drivers for the client or the database you are connecting to can change which will cause an error. It is safe to use DSN less connection as long as the drivers stay compatable.

Rick
 
thanks. rickster. it is an ms sql server database. i can't imagine that there would ever be this type of error in the future as ms is responsible both for vb and ss.

the people who maintain our database suggested that using a dsnless connection could present a danger for the database, not for my app. is this the kind of error that you meant?

thanks

gusset
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top