Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用提交 SCN 值将 XMLType 数据作为字符串获取
SELECT ab.userdata.getStringVal() userdata from MINER.MINERT2 ab as of scn(1558393) where ab.ID = 14;
但我收到 SQL 语法错误。当我使用普通查询时,没有表别名说
select col from tablename as of scn(1234) where id=1
我没有收到任何语法错误。
我发现了错误。表别名必须写在as of SCN().
as of SCN()
所以查询
必须纠正为
SELECT ab.userdata.getStringVal() userdata from MINER.MINERT2 as of scn(1558393) ab where ab.ID = 14;