VARCHAR Length
Posted by: Gary Walters
Date: November 19, 2004 06:53PM

How can I get the length of a VARCHAR field?

If I put a breakpoint on "reader = command.ExecuteReader()" I can see that "reader.fields[0].ColumnLength" has the value that I want, but fields is not accessible, so I don't know how I can access it.

I also tried looking through the DataTable returned from reader.GetSchemaTable() but the MaxLength there is set to -1.

Options: ReplyQuote


Subject
Written By
Posted
VARCHAR Length
November 19, 2004 06:53PM
November 20, 2004 03:49PM
November 21, 2004 09:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.