Re: select or update ordinal
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Sun, 14 May 2006 20:21:04 +0100
is there any way I can select or update a field by specifiying the ordianl
instead of the column name?
Sure. But if you mean, given the name can you work out what he ordinal value
is => no, AFAIK.
If you have
SELECT field1,field2,field3 FROM mytable
for a recordset
then you can use
Fields(0)
instead of
Fields("field1")
and the former is faster.
Stephen Howe
.
- Prev by Date: Re: What happened to the ADO.NET 3.0 May CTP?
- Next by Date: lock_timeout question
- Previous by thread: What happened to the ADO.NET 3.0 May CTP?
- Next by thread: lock_timeout question
- Index(es):