....  ||'='||to_char(mrowa)||'.'||to_char(mrowb.column_nam)

解决方案 »

  1.   

    不行的,mrowa是游标变量,提示to_char的参数类型错误
      

  2.   

    游标用select * from .....,一条游标记录中可能有多个字段,多字段直接用“=”比较好象是不行的。
    多字段强行匹配可考虑采用(字段1,字段2)in(字段11,字段22)可感觉你的语句没什么意义。
      

  3.   

    select * from user_tab_columns where table_name = a;不好意思这行要纠正一下,应该是:
    select * from user_tab_columns where table_name = 'A';对不起了,这样可能就不会误会了,A是表名