Hi
I am trying to create a view that holds information as follows:
Basically, each year a new Gl table appears in the database.
The view must:
Select * from GL1
union all
Select * from GL2 (but only if it exists - will appear in database on 1.1.2004)
union all
Select * from GL3(but only if it exists- on 1.1.2005)
I do not want to use a stored procedure as this view is needed to link to other views in a crystal report.
Thanks
I am trying to create a view that holds information as follows:
Basically, each year a new Gl table appears in the database.
The view must:
Select * from GL1
union all
Select * from GL2 (but only if it exists - will appear in database on 1.1.2004)
union all
Select * from GL3(but only if it exists- on 1.1.2005)
I do not want to use a stored procedure as this view is needed to link to other views in a crystal report.
Thanks