I have 4 views created. 1 view is the main view which has the customers names and I have 1 other view for their products ordered. I need the main view to link to the other view and on the main view be able to have how much producst were orderd
You can join to the other view in your main view - this can cause performance problems if you nest a lot of views though.
create view main
as
select ...
from tbl
join vw_other
on tbl.col1 = vw_other.colx
go
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.