Creating Tables From Queries
Did you know that you can create a table from a query?
It's done using the SELECT INTO syntax, and it can be quite useful for creating a table for temporary calculations. What surprised me was that you can get this to create a permenant table as well. Obviously that isn't recommended (I hope you put a little thought into your tables before you create them), but it's useful to have for DBA scenarios.
Comments
Comment preview