ODBC Throws S1004 When Fetching ROWID Type Column from Resultset by SQLColumns()
(Doc ID 2715210.1)
Last updated on OCTOBER 05, 2020
Applies to:Oracle ODBC Driver - Version 220.127.116.11 and later
Information in this document applies to any platform.
ODBC throws S1004 'String data, right-truncated' when fetching data for 'ROWID' type column from resultset generated by SQLColumns().
The sequence of operations is as follows:
- Call SQLColumns() for a table which has a 'ROWID' type column, such as below:
- Call SQLBindCol() against each column of resultset for fetching data
- Call SQLFetch() repeatedly
- SQLFetch() returns S1004 when fetching data corresponding to the column whose data type is 'ROWID' (in the above example, it is 'PND_ROWID')
According to the returned data, it doesn't seem that the data truncation occurred.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document