Link to home
Start Free TrialLog in
Avatar of dynamk
dynamk

asked on

Table that mirrors a view in Sql Server 2005

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.
Avatar of MohammedU
MohammedU
Flag of United States of America image

You can create a trigger on the base table to write to a different table whenever there is data change...
OR
You can use the replication: Replicate a view to a table...
Avatar of dynamk
dynamk

ASKER

Is it possible to provide an example - I don't really know sql.
ASKER CERTIFIED SOLUTION
Avatar of MohammedU
MohammedU
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial