ADO and ORACLE number fields
I cannot retrieve ORACLE number fields with ADO.
ADOB.Connection.Execute("select *
from table)
This command will always return an empty recordset if the table has number fields. HELP please !
Web Development
I cannot retrieve ORACLE number fields with ADO.
ADOB.Connection.Execute("select *
from table)
This command will always return an empty recordset if the table has number fields. HELP please !
by matdone
Hi I've had a few problems with the execute method with oracle. I have however had no problems so far with the open method. Here is some code I use.
strsql = "Select * from table"
Set connect1 = New ADODB.Connection
connect1.ConnectionString = "Your
Connect String"
connect1.Open
Set rstStage = New ADODB.Recordset
Set rstStage.ActiveConnection = connect1
rstStage.Open strsql
Regards,
Matt.
doneM@stgeorge.com.au
by tran_th
by vcsekhar007
Hey try the following :
------------------------------------
strsql = "Select * from table"
Set conn = New ADODB.Connection
conn.ConnectionString = "Your
Connect String"
conn.Open
Set rstStage = New ADODB.Recordset
Set rstStage.ActiveConnection = connect1
rstStage.Open strsql,conn
response.write("first data is "& rststage(0))
---------------Sekhar----------------
by tran_th
by tran_th
This discussion is closed to new replies.
Sort by Trending