Home Forums SQL Server 2008 SQL Server Newbies Creating a view with Declare RE: Creating a view with Declare
bawinkley
SSC Enthusiast
Points: 126
More actions
July 23, 2013 at 1:42 am
#1634789
I'm pretty sure you cant use variables in views, I have decided to take them out which isn't the end of the world.
I haven't worked out how to create a table on a scheduled task yet but i think the above method is better for this purpose.
Thanks