How do you write a prepared statement?
Posted on 2002-07-04
Can you show me how do you make a prepared statement out of this in ASP? Just curious to know if it is even remotely possible.
set objConn = Server.CreateObject("ADODB.Connection")
sql = "select slot_alias,page_seq,page_alias from jzhi.trans_steps where page_num in (1,2,3,4,5) "
set rs = objConn.execute(sql)
'Parsing stuff here
set rs = nothing
set objConn = nothing