set conn = Server.CreateObject("ADODB.Connection")
conn.Open ("DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=sportteam;")
set rs = conn.Execute("SELECT Name_E FROM market limit 0,1")
if not rs.eof then
NameE=rs("Name_E")
end if
conn.Close
set conn = nothing
set conn = Server.CreateObject("ADODB.Connection")
conn.Open ("DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=sportteam;")
set rs = Server.CreateObject("ADODB.RecordSet")
rs.open "SELECT Name_E FROM market limit 0,1",conn
if not rs.eof then
NameE=rs("Name_E")
end if
conn.Close
set conn = nothing
what difference using recordset and not using recordset in connection???
have make connection faster??
conn.Open ("DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=sportteam;")
set rs = conn.Execute("SELECT Name_E FROM market limit 0,1")
if not rs.eof then
NameE=rs("Name_E")
end if
conn.Close
set conn = nothing
set conn = Server.CreateObject("ADODB.Connection")
conn.Open ("DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=sportteam;")
set rs = Server.CreateObject("ADODB.RecordSet")
rs.open "SELECT Name_E FROM market limit 0,1",conn
if not rs.eof then
NameE=rs("Name_E")
end if
conn.Close
set conn = nothing
what difference using recordset and not using recordset in connection???
have make connection faster??

