The following ASP sample script Code allows you
connect to SQL Database
In the code given below the DSN Name is sql123, Database is
and Password is Shabbier.
Note : Users are requested to
change the above said parameters with their respective
DSN, Username and Password.
rs.Open "select * from sample",con,1,3
for i=0 to rs.RecordCount
Response.Write rs(i) & ":"