Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
Indexed View
Indexed View
Rate Topic
Display Mode
Topic Options
Author
Message
Ratheesh.K.Nair
Ratheesh.K.Nair
Posted Wednesday, February 13, 2013 4:30 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 6:42 AM
Points: 2,415,
Visits: 3,379
Hi Experts,
We have an indexed view and the development team want to keep the data in indexed view intact even if the data in base table is changed.
Please help
As per my understanding indexed view is a subset of the table data with an index to get more performance.
Post #1419386
anthony.green
anthony.green
Posted Wednesday, February 13, 2013 4:36 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Correct, it is just meta data which looks at the underlying tables.
So if the data needs to be static, then you need to export the data to a different table(s) and change the view accordingly.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1419389
Ratheesh.K.Nair
Ratheesh.K.Nair
Posted Wednesday, February 13, 2013 5:04 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 6:42 AM
Points: 2,415,
Visits: 3,379
Thanks Anthony.
They want real time data..Any way??
Post #1419412
anthony.green
anthony.green
Posted Wednesday, February 13, 2013 5:09 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
So why the need to keep the data intact? If they want it real time they are going to have data fluctuation as values will always be changing.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1419417
Grant Fritchey
Grant Fritchey
Posted Thursday, February 14, 2013 4:47 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 7:42 AM
Points: 13,382,
Visits: 25,180
Ratheesh.K.Nair (2/13/2013)
Thanks Anthony.
They want real time data..Any way??
Wait, they want real time static data? That doesn't make any sense.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1419979
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.