以前是informix数据库,下面这句代码就是查询出第一条数据 并且存放到zjlsh中
EXEC SQL SELECT FIRST 1 zjlsh INTO :zjlsh FROM reltaxreg
WHERE entrustdate=:entrustdate AND trano=:trano;现在在oracle中 我要实现同样的功能 该如何写呢?
用上面一样的代码不行  PRO*C编译报错如下
Encountered the symbol "1" when expecting one of the following:  , ( * + - / . @ | an identifier, a quoted string, at, date,
  into, as, count, from, day, extract, hour, interval, minute,
  month, second, time, timestamp, treat, trim, year, avg, max,
  min, sum, stddev, variance,
The symbol "," was substituted for "1" to continue.正确写法该怎么写呢?