postgres複製表結構

劍西樓發表於2017-03-28

  • 複製表結構
1
2
create table his_process_data_201405 as
( select * from his_process_data_201406 limit 0)
  • 完整複製一張表
1
2
create table his_process_data_201405 as
( select * from his_process_data_201406)

相關文章