sql server 2005 - How to use DECLARE and SELECT in one line? -
sql server 2005 - How to use DECLARE and SELECT in one line? -
i using asp script
i want utilize "declare" 1 table , display table records using "select" statement....
<% rs.open "declare @product1 table (rooms varchar(15), adults varchar(15))insert @product1 values ('superior','1')insert @product1 values ('standard','1') insert @product1 values ('deluxe','1') select * @product1", conn, 3, 3 if not rs.eof response.write " working" end if rs.close %>
when using rs.open getting error in "if condition"
adodb.recordset error '800a0e78'
operation not allowed when object closed.
sql-server-2005 asp-classic ado
Comments
Post a Comment