现在我在存储过程里面定义了一个record:
myRecord table%rowtype;
然后select * into myRecord from table;
而且里面有数据,现在我想不用字段名(因为字段太多,而且以后还要进行计算)来遍历里面的数据,就像java里面的枚举可以使用.next()一样,或者有什么方法可以实现动态语句。请各位帮忙!
myRecord table%rowtype;
然后select * into myRecord from table;
而且里面有数据,现在我想不用字段名(因为字段太多,而且以后还要进行计算)来遍历里面的数据,就像java里面的枚举可以使用.next()一样,或者有什么方法可以实现动态语句。请各位帮忙!
http://www.itpub.net/thread-9530-1-1.html