Skip to content

Instantly share code, notes, and snippets.

@dodopok
Created October 4, 2013 12:59
Show Gist options
  • Save dodopok/6825516 to your computer and use it in GitHub Desktop.
Save dodopok/6825516 to your computer and use it in GitHub Desktop.
Copia registro para outra tabela
insert into dues_storage (f1, f2, f3, cd)
select f1, f2, f3, current_date() from dues where id = 5;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment