C
Chris Holliday
I am simply trying to query an Oracle 7.3.4 database and nothing seems to be
working. This is the most basic that seems as though it should work:
Dim con As OracleConnection = New OracleConnection("User
Id=someID;Password=somePW;Data Source=oramia.world;")
con.Open()
Dim myCMD As New OracleCommand()
myCMD.Connection = con
myCMD.CommandText = "SELECT * FROM EN_SHIP_EXT WHERE EN_CUST_KEY = 1837"
myCMD.CommandType = CommandType.Text
Dim ds As DataSet = New DataSet()
Dim dr As OracleDataAdapter = New OracleDataAdapter(myCMD)
dr.Fill(ds)
Return ds
Unfortunately, all I can seem to return is the following:
ORA-01002: fetch out of sequence
Anyone?
thanks,
c.
working. This is the most basic that seems as though it should work:
Dim con As OracleConnection = New OracleConnection("User
Id=someID;Password=somePW;Data Source=oramia.world;")
con.Open()
Dim myCMD As New OracleCommand()
myCMD.Connection = con
myCMD.CommandText = "SELECT * FROM EN_SHIP_EXT WHERE EN_CUST_KEY = 1837"
myCMD.CommandType = CommandType.Text
Dim ds As DataSet = New DataSet()
Dim dr As OracleDataAdapter = New OracleDataAdapter(myCMD)
dr.Fill(ds)
Return ds
Unfortunately, all I can seem to return is the following:
ORA-01002: fetch out of sequence
Anyone?
thanks,
c.