bruce
04-02-2003, 02:18 AM
From a functional standpoint DSN & DSNLess connection is identical. DSN connection uses a System ODBC Data Source to locate your database file. Whereas, DSNLess connection, you specify the location of the database by physical path.
The ODBC tool create a system ODBC data source, you can use any name you wish. Once you have the DSN setup, you can reference the database thru the name you selected.
Some good articles
http://www.learnasp.com/learn/dbopen.asp
http://www.web-savant.com/users/kathi/asp/samples/tut/Database_Connections.asp
Hope this helps
[b]quote:Originally posted by gasounet000
1. Can anyone explain the difference between a DSN versus a DSN-less database connection, and under what circumstances would I use either?
2. When using the OBDC tool to "Create New Database Connection", what parameter goes in the field "Data Source Name"? I suspect it it the name of my Access dbase but am not certain.
Thanks
J. Dyer
</blockquote id="quote"></font id="quote">
The ODBC tool create a system ODBC data source, you can use any name you wish. Once you have the DSN setup, you can reference the database thru the name you selected.
Some good articles
http://www.learnasp.com/learn/dbopen.asp
http://www.web-savant.com/users/kathi/asp/samples/tut/Database_Connections.asp
Hope this helps
[b]quote:Originally posted by gasounet000
1. Can anyone explain the difference between a DSN versus a DSN-less database connection, and under what circumstances would I use either?
2. When using the OBDC tool to "Create New Database Connection", what parameter goes in the field "Data Source Name"? I suspect it it the name of my Access dbase but am not certain.
Thanks
J. Dyer
</blockquote id="quote"></font id="quote">