justrite Posted December 6, 2012 Share Posted December 6, 2012 I have 4 tables that have bus tour data for each season cms_fall_tourscms_spring_tourscms_summer_tourscms_winter_tours I also have an empty table that has the same columns cms_all_tours I want to take each of the season tours and combine them into the ALL Tours table OR take the season tables and create a new table "cms_all_tours" with them (after deleting the current cms_all_tours of course) Any help with the query string on this would be appreciated MichaelJust Rite Design Link to comment Share on other sites More sharing options...
justsomeguy Posted December 6, 2012 Share Posted December 6, 2012 You can use SELECT * INTO .. to copy records to another table. You'll need to do it once for each table to copy from. Link to comment Share on other sites More sharing options...
justrite Posted December 6, 2012 Author Share Posted December 6, 2012 Can you show me what that would look like? I am new to SQL and have not coded with it except to show records and compile data. Thanks Mike Link to comment Share on other sites More sharing options...
justsomeguy Posted December 6, 2012 Share Posted December 6, 2012 http://www.w3schools.com/sql/sql_select_into.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now