테이블-truncate.sql 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. truncate table dbr_item;
  2. truncate table dbr_item_thm;
  3. truncate table dbr_last_slip_no;
  4. truncate table pro_member;
  5. truncate table pro_member_app;
  6. truncate table pro_member_ext;
  7. truncate table dbr_company;
  8. truncate table dbr_squote;
  9. truncate table dbr_squote_bd;
  10. truncate table dbr_sorder;
  11. truncate table dbr_sorder_bd;
  12. truncate table dbr_last_slip_no;
  13. truncate table dbr_sorder;
  14. truncate table dbr_sorder_bd;
  15. truncate table dbr_sales;
  16. truncate table dbr_sales_bd;
  17. truncate table dbr_credit_bd;
  18. truncate table dbr_credit;
  19. truncate table dbr_genio_bd;
  20. truncate table dbr_genio;
  21. truncate table dbr_pquote_bd;
  22. truncate table dbr_pquote;
  23. truncate table dbr_porder_bd;
  24. truncate table dbr_porder;
  25. truncate table dbr_purch_bd;
  26. truncate table dbr_purch;
  27. truncate table dbr_credit;
  28. truncate table dbr_credit_bd;
  29. truncate table dbr_reward;
  30. truncate table dbr_reward_bd;
  31. truncate table dbr_bal_item;
  32. truncate table dbr_bal_buyer;
  33. truncate table dbr_bal_supplier;
  34. truncate table dbr_credit_bd;
  35. truncate table dbr_acc_slip;
  36. truncate table dbr_acc_slip_bd;
  37. truncate table dbr_pos_closing;
  38. truncate table dbt_log_access;
  39. truncate table dbt_list_type1;
  40. truncate table pro_post;
  41. truncate table crp_wallet;
  42. truncate table crp_wallet_token;
  43. truncate table pro_post;
  44. truncate table pro_post_bd;
  45. truncate table pro_sorder_shop;
  46. truncate table dbr_bal_reward;
  47. truncate table dbr_bal_supplier;
  48. truncate table dbr_bal_buyer;
  49. truncate table dbr_bal_acc_title;
  50. truncate table dbr_bal_credit;
  51. truncate table dbr_credit;
  52. truncate table dbr_credit_bd;
  53. truncate table dbr_customer_tie;
  54. truncate table dbr_customer_tie_bd;
  55. truncate table pro_company_contact_bd;
  56. truncate table pro_company_crcard_bd;
  57. truncate table pro_company_destina_bd;
  58. truncate table dbr_coupon;
  59. truncate table zdb_eyetest;
  60. truncate table zdb_sales;
  61. truncate table zdb_sorder;
  62. truncate table dbt_list_sum;
  63. truncate table dbt_list_type1;
  64. truncate table dbt_log_access;
  65. truncate table dbt_upload_type1;
  66. truncate table dbt_webcat_cart;
  67. truncate table main_sso_app;
  68. truncate table main_sso_app_bd;
  69. truncate table main_sso_app_log;
  70. truncate table pro_cart;
  71. truncate table pro_item_review;
  72. truncate table pro_item_review_bd;
  73. truncate table pro_item_revpro;
  74. truncate table pro_item_revsum;
  75. truncate table bcs_block;
  76. truncate table bcs_circulating;
  77. truncate table bcs_contract;
  78. truncate table bcs_dgn_holder;
  79. truncate table bcs_nft;
  80. truncate table bcs_token;
  81. truncate table bcs_token_holder;
  82. truncate table bcs_trans_inter;
  83. truncate table bcs_tranxn;
  84. truncate table bcs_txn_transfer;
  85. truncate table bcs_uncle_block;
  86. truncate table bcs_unconfirm;
  87. UPDATE bcs_last_sync_no SET last_sync_no = 0 where id = 1;
  88. truncate table bcm_contract;
  89. truncate table bcs_contract_abi;
  90. truncate table bcs_contract_sol;
  91. truncate table bcs_token_add;
  92. truncate table bcs_token_holder;
  93. truncate table fed_crystal_guest;
  94. truncate table fed_crystal_host;
  95. [개발설정용 테이블 테이블]-기본데이터 초기화에서는 Truncate 불가
  96. truncate table pro_item_revindex;
  97. truncate table dbr_media;
  98. truncate table dbr_media_bd;
  99. truncate table pro_widget_taxo;
  100. truncate table pro_widget_taxo_bd;
  101. truncate table pro_item_taxo;
  102. truncate table pro_item_taxo_bd;
  103. truncate table pro_member_device;
  104. truncate table pro_member_passwd;
  105. truncate table pro_member_log;
  106. [지우지 말아야 할 테이블]
  107. dbr_deal_type
  108. dbr_etc
  109. dbr_user_menu
  110. dbr_rpt_custom