TORACLEDATASET.ROWID

Arvid

Member²
Hei,

is it possible to show get the rowid included in the Fields list in TOracleDataset somehow???

I know that I can use OracleDataset.Rowid, but I would like to be able to access "OracleDataset.FieldByName('ROWID')"... Is that possible at all?

I know you can do it in TOracleQuery - but I need it in a dataset...

BR,
Arvid Haugen
 
You will have to use an alias and apply the rowidtochar function. For example:

select deptno, dname, loc,
rowidtochar(rowid) as rowid_field
from dept
 
Back
Top