本文介绍了从 from 子句的列中获取表名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
我有一个视图 t,其中有一列用于表名,另一列具有 where 子句条件.
I have a view t with me which has a column for table name and another column which has where clause condition.
等等...
现在,我已将记录放入游标中,并且我想运行每个查询.
Now, I have put the records in a cursor and I want to run each query.
myTable 是另一个表,我想在其中放置记录以备下次使用.
myTable is another table in which I want to put the records for next purpose.
推荐答案
@Akshay,
请在下面找到代码以供参考.
Please find the code below for your reference.
这篇关于从 from 子句的列中获取表名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!