|
(1) A DSN connection
is more direct but it requires that the database be registered
in the service provider's ODBC register. ODBC stands for "open
database connectivity". Database products have drivers that
enable external programs to access their data. ODBC drivers are
used, for example, to import data from MS Access to Excel. In
server-side scripts we use the same ODBC driver to import data
from the database to our server-side script. But in order for
this to happen, the database must be registered in the server's
ODBC register with a name, called DSN (domain system name). The
ODBC register needs to have information about the database product
(e.g., MS Access, SQL Server, etc.), it's location in the server's
hard disk, and the file name. The DSN does NOT have to use the
same name as the original file name. For example, I have the
following DSN names registered with our service provider: delivery
(delivery.mdb); general (general.mdb); music (MusicInventory.mdb);
orders (OrderEntry.mdb); HWnn (HWnn.mdb); Prjnn (Prjnn.mdb) --
nn is your number in the roster.
|