我想要的:我想创建一个select语句,其中结果集有2列,视图名称和(blob,long,memo)视图的创建脚本
ie:从somesystemtable中选择viewname,viewscript,其中viewname如'%Numeric%Values'
viewname viewscript
------------------------------------------------
AlfaNumericValues (memo, click to view)
DerivativeNumericValues (memo, click to view)
答案 0 :(得分:0)
对于Oracle,您必须这样做:
SELECT view_name, text
FROM user_view
WHERE view_name LIKE '%VIEWNAME%'; -- The name of the view in all capital letters.