'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdDate value = instance.GetTdDate(ordinal)
Parameters
- ordinal
- Column Ordinal
Return Value
Returns the value of the specified field represented as a TdDate type.
'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdDate value = instance.GetTdDate(ordinal)
Exception | Description |
---|---|
System.IndexOutOfRangeException | ordinal is less than zero or ordinal is equal to or greater than TdDataReader.FieldCount. |
System.InvalidCastException | The field cannot be converted into TdDate. |
System.InvalidOperationException | CommandBehavior is set to SchemaOnly, or there is no data for the row or column, or preceding columns are no longer accessible. |
System.ObjectDisposedException | The TdDataReader is closed. |
TdException | The Advanced SQL Engine returned an error, or .NET Data Provider for Teradata detected an error. |
Product | Versions | Platforms |
---|---|---|
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |