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.
| Author |
Topic |
|
gavakie
Posting Yak Master
221 Posts |
Posted - 2010-05-25 : 15:55:45
|
| I have some large datasets for reports that just take a long time to run. I want to keep the results in a table that is populated nightly or weekly. How? |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2010-05-25 : 17:13:42
|
| "How?" is ambiguous. Are you asking how to create the table or how to populate it nightly? |
 |
|
|
naveengopinathasari
Yak Posting Veteran
60 Posts |
Posted - 2010-05-26 : 07:54:57
|
| You can write a scheduler and schedule as required (Run at Night Ones everyday).In the Scheduler you can create a Table by <TableName> + Date and insert all the data into the tableso that you can use this table for your report.Hope it suffice your requirementLets unLearn |
 |
|
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2010-05-26 : 07:57:21
|
| SELECT *INTO myCachedReportFROM myseriouslycomplexjoinWHERE ...- LumbagoMy blog (yes, I have a blog now! just not that much content yet) -> www.thefirstsql.com |
 |
|
|
|
|
|