Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 How to : Make a query table

Author  Topic 

korssane
Posting Yak Master

104 Posts

Posted - 2009-03-25 : 10:08:28
Hi All,

I want to know how to make a query table in sql 2005.
I have query already created and want to use it as a table.
i know that i can use:
SELECT *
INTO Table1
FROM View1
WHERE...
But this statement allows me to create a table from a view omluy.
what i want is how can i update the table1 automatically ( only content not the shema) as soon as the query is updated?

Thanks

heavymind
Posting Yak Master

115 Posts

Posted - 2009-03-25 : 10:59:02
looks like you are talking about materialized view...

Thanks, Vadym
MCITP DBA 2005/2008
Chief DBA at http://www.db-staff.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-03-25 : 13:12:39
how will you be updating query? where will this query be executed?
Go to Top of Page
   

- Advertisement -