[揭秘]sql server视图
请问sql server是如何管理视图的.
如数据库上有Table_A,Table_B,现在建了一个视图view_C
[问题1]sql server是否在内部维护了一个实体表
select A.*,B.* from table_a a,tabel_b b where a.id=b.no
[问题2]执行"select * from view_C where id=1"与执行"select A.*,B.* from table_a a,tabel_b b where a.id=b.no and a.id=1"哪个效率高?
请高手讲解一下sql server是如何管理view的,在sql server上建一个实体表与建成一个视图有什么区别?