Table that mirrors a view in Sql Server 2005

Posted on 2008-11-17
Medium Priority
Last Modified: 2012-05-05
I have a view that uses random records from another table each time it is used. I need to use this view in a software but the software will only accept tables. I'm trying to get the table to always contain the same data that is in the view and make sure that it also gives new random records whenever shown/refreshed. The fields are Class, Description, Image and Instructions. Thanks in advance.
Question by:dynamk
  • 2
LVL 15

Expert Comment

ID: 22977810
You can create a trigger on the base table to write to a different table whenever there is data change...
You can use the replication: Replicate a view to a table...

Author Comment

ID: 22977973
Is it possible to provide an example - I don't really know sql.
LVL 15

Accepted Solution

MohammedU earned 1000 total points
ID: 22977989
Check the following link...

For replication...it is going to be big script...but you can try using SSMS...

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are some very powerful Dynamic Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a di…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question