我正在尝试使用SAS编写的Vertica创建视图。
proc sql;
connect to odbc as try
(server='10.10.7.174' port=5433 user=dbadmin password=password );
execute (create view &schema..myview as
( Select * from &schema..table_1
union all
Select * from &schema..table_2
))by try ;
disconnect from try;
quit;
问题是:因此,它创建的是表而不是视图。
当SAS Explorer显示Table
并且libname是远程时,[DB视图将显示为Contents of 'libname'
类型。