FACTOID # 32: Guatamalan women work 11.5 hours a day, while South African men work only 4.5.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Database Source Name
Jump to: navigation, search

Database Source Names, more commonly seen as the abbreviation, DSN, are data structures used to describe a connection to a database. This DSN will take the form of protocol: subprotocol: host: port: database so as to completely specify all parameters of the connection. The exact format of the DSN will vary depending on your programming language. A binary tree, a simple type of branching linked data structure. ... A database is an organized collection of data. ...


Example of use: Using a DSN to connect to a MySQL database through the web. Web developers can submit form entries to a MySQL database by establishing a connection to the MySQL database's DSN.


The advantage of a DSN is that applications can take advantage of any database, as long as DSN is supported (i.e. in Apache/PHP, IIS/ASP)


In ASP(VBScript) to open a DSN connection the code is:



dim dbobj if not isobject(dbobj) then set dbobj = Server.CreateObject("ADODB.Connection") dbobj.open "DSN=DSNname;uid=sa;pwd=" end if


  Results from FactBites:
 
Database Source Name - Wikipedia, the free encyclopedia (147 words)
Database Source Names, more commonly seen as the abbreviation, DSN, are data structures used to describe a connection to a database.
Using a DSN to connect to a MySQL database through the Web, Web users can submit form entries to a MySQL database by establishing a connection to the MySQL database's DSN.
The advantage of a DSN is that applications can take advantage of any database, as long as DSN is supported (i.e.
Database-Key (571 words)
Note that this is the data source name (DSN) you assigned to the database in the ODBC Control Panel.
For some ODBC drivers, this name is the name of a single database.
For other ODBC drivers, such as the.DBF driver, this name is the name of a group of databases.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.