Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created May 11, 2017 23:00
Show Gist options
  • Save vincentdesmares/1e47226ec123811891567bd8d19fd328 to your computer and use it in GitHub Desktop.
Save vincentdesmares/1e47226ec123811891567bd8d19fd328 to your computer and use it in GitHub Desktop.
-- Copy data from the non partitioned to the partitioned version:
INSERT INTO tablename_with_partition SELECT * tablename;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment