joelwenzel
Programmer
- Jun 28, 2002
- 448
I have just learned about temporary tables and am wondering when I should use them. I am currently designing a table that is very long (~500 million rows specific to a UserID and a Date) and am wondering if it makes sense to create a temporary table for users for a specific date range when the need to access the data.
Would this make sense for preforming aggregate functions?
Would this make sense for just general access (proforming no calculatons, just retreiving the data)?
What other situations should I consider temporary tables (eg Unions, etc?)?
Thanks in advance.
Would this make sense for preforming aggregate functions?
Would this make sense for just general access (proforming no calculatons, just retreiving the data)?
What other situations should I consider temporary tables (eg Unions, etc?)?
Thanks in advance.