Re: ExecuteNonQuery returns ORA-01036 illegal variable name/number
- From: Brad Wood <bradley_.wood_@xxxxxxxxx>
- Date: Mon, 04 Apr 2005 10:46:39 -0600
Jim Brandley wrote:
I have used ExecuteNonQuery with no trouble for inserts, updates and deletes. The best practices book I have says this is also the most efficient way to return multiple column values from a single row. The requested fields can be changed by users adding/removing fields from the form, so a stored proc will not work - variable number of return values. I tried: Select name, rank into ( :V1, :V2 ) from mytable where keyvalue = :V3 and get ORA-01036. The bound parameters are named to match the sql statement. IN params work fine, but I cannot make it happy with the OUT params. Any help would be appreciated.
Just a thought - try the other provider for oracle (if you're using MS's , try using oracle's or vice versa).
.
- Follow-Ups:
- Re: ExecuteNonQuery returns ORA-01036 illegal variable name/number
- From: Jim Brandley
- Re: ExecuteNonQuery returns ORA-01036 illegal variable name/number
- References:
- ExecuteNonQuery returns ORA-01036 illegal variable name/number
- From: Jim Brandley
- ExecuteNonQuery returns ORA-01036 illegal variable name/number
- Prev by Date: Re: Transactions in ADO.Net 2 strongly-typed datsets.
- Next by Date: Reset SQL Server connection pool?
- Previous by thread: ExecuteNonQuery returns ORA-01036 illegal variable name/number
- Next by thread: Re: ExecuteNonQuery returns ORA-01036 illegal variable name/number
- Index(es):