CARLO_Truncate_Inkrementell.sql 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. USE [CARLO]
  2. GO
  3. TRUNCATE TABLE [import].[Time_Entry_T]
  4. GO
  5. --TRUNCATE TABLE [import].[Wertposten]
  6. --GO
  7. TRUNCATE TABLE [import].[Werkstattzeile]
  8. GO
  9. --TRUNCATE TABLE [import].[Werkstattposten]
  10. --GO
  11. TRUNCATE TABLE [import].[Werkstattkopf]
  12. GO
  13. TRUNCATE TABLE [import].[Verkaufszeile]
  14. GO
  15. --TRUNCATE TABLE [import].[Verkaufsrechnungszeile]
  16. --GO
  17. --TRUNCATE TABLE [import].[Verkaufsrechnungskopf]
  18. --GO
  19. TRUNCATE TABLE [import].[Verkaufskopf]
  20. GO
  21. TRUNCATE TABLE [import].[Verkaufsgutschriftszeile]
  22. GO
  23. TRUNCATE TABLE [import].[Verkaufsgutschriftskopf]
  24. GO
  25. TRUNCATE TABLE [import].[Verkaufsanfragezeile]
  26. GO
  27. TRUNCATE TABLE [import].[Verkaufsanfragekopf]
  28. GO
  29. TRUNCATE TABLE [import].[Verkaeufer_Einkaeufer]
  30. GO
  31. TRUNCATE TABLE [import].[Time_Account_T]
  32. GO
  33. TRUNCATE TABLE [import].[Teilehandel_Statistik_Summen]
  34. GO
  35. TRUNCATE TABLE [import].[Teilehandel_Statistik_Details]
  36. GO
  37. TRUNCATE TABLE [import].[Task_Type]
  38. GO
  39. TRUNCATE TABLE [import].[Task_Acquisition_Ledger_Entry]
  40. GO
  41. --TRUNCATE TABLE [import].[Sachposten]
  42. --GO
  43. TRUNCATE TABLE [import].[Sachkonto]
  44. GO
  45. TRUNCATE TABLE [import].[Produktbuchungsgrp]
  46. GO
  47. TRUNCATE TABLE [import].[Paketposten]
  48. GO
  49. TRUNCATE TABLE [import].[Kreditorenposten]
  50. GO
  51. TRUNCATE TABLE [import].[Kreditor]
  52. GO
  53. TRUNCATE TABLE [import].[Kostenstelle]
  54. GO
  55. TRUNCATE TABLE [import].[Geschaeftsbuchungsgrp]
  56. GO
  57. TRUNCATE TABLE [import].[Filialbezeichnung]
  58. GO
  59. TRUNCATE TABLE [import].[Fibu_Buch_Blattzeile]
  60. GO
  61. TRUNCATE TABLE [import].[Fibu_Buch_Blatt_Vorlage]
  62. GO
  63. TRUNCATE TABLE [import].[Fibu_Buch_Blatt_Verteilung]
  64. GO
  65. TRUNCATE TABLE [import].[Fibu_Buch_Blatt_Name]
  66. GO
  67. TRUNCATE TABLE [import].[Fahrzeugposten]
  68. GO
  69. --TRUNCATE TABLE [import].[Fahrzeug_Ausstattung]
  70. --GO
  71. --TRUNCATE TABLE [import].[Fahrzeug]
  72. --GO
  73. TRUNCATE TABLE [import].[Employee_T]
  74. GO
  75. TRUNCATE TABLE [import].[Employee]
  76. GO
  77. TRUNCATE TABLE [import].[Debitorgruppe]
  78. GO
  79. --TRUNCATE TABLE [import].[Debitorenposten]
  80. --GO
  81. TRUNCATE TABLE [import].[Debitor]
  82. GO
  83. TRUNCATE TABLE [import].[Calendar_T]
  84. GO
  85. TRUNCATE TABLE [import].[Artikel_Buch_Blattzeile]
  86. GO
  87. --TRUNCATE TABLE [import].[Artikel]
  88. --GO
  89. TRUNCATE TABLE [import].[Archiv_Werkstattzeile]
  90. GO
  91. TRUNCATE TABLE [import].[Archiv_Werkstattkopf]
  92. GO
  93. TRUNCATE TABLE [import].[Archiv_Verkaufskopf]
  94. GO
  95. TRUNCATE TABLE [import].[Archiv_Filialauftragszeile]
  96. GO
  97. TRUNCATE TABLE [import].[Archiv_Filialauftragskopf]
  98. GO
  99. --TRUNCATE TABLE [import].[Arbeitswertposten]
  100. --GO
  101. TRUNCATE TABLE [import].[Abnehmergruppe_VW]
  102. GO
  103. TRUNCATE TABLE [import].[Fahrzeug_Hauptgruppe]
  104. GO
  105. TRUNCATE TABLE [import].[Fahrzeug_Untergruppe]
  106. GO
  107. TRUNCATE TABLE [import].[Herkunftscode]
  108. GO
  109. TRUNCATE TABLE [import].[Kontensch_Kontrolle_Sachp_BKR]
  110. GO
  111. TRUNCATE TABLE [import].[Kostentraegerbuchungsgruppe]
  112. GO
  113. TRUNCATE TABLE [import].[Kostentraegerkonto]
  114. GO
  115. TRUNCATE TABLE [import].[Kostentraegerposten]
  116. GO
  117. TRUNCATE TABLE [import].[MB_Branchcode_Mapping]
  118. GO
  119. TRUNCATE TABLE [import].[MB_Costcenter]
  120. GO
  121. TRUNCATE TABLE [import].[MB_Costcentercode_Mapping]
  122. GO
  123. TRUNCATE TABLE [import].[MB_Costunit]
  124. GO
  125. TRUNCATE TABLE [import].[MB_Costunitcode_Mapping]
  126. GO
  127. TRUNCATE TABLE [import].[MB_Distr_Channelcode_Mapping]
  128. GO
  129. TRUNCATE TABLE [import].[MB_Distributionchannel]
  130. GO
  131. TRUNCATE TABLE [import].[MB_Location]
  132. GO
  133. TRUNCATE TABLE [import].[MB_Locationcode_Mapping]
  134. GO
  135. TRUNCATE TABLE [import].[MB_Make]
  136. GO
  137. TRUNCATE TABLE [import].[MB_Make_KBA_No_Mapping]
  138. GO
  139. TRUNCATE TABLE [import].[MB_Makecode_Mapping]
  140. GO
  141. TRUNCATE TABLE [import].[MB_Setup]
  142. GO
  143. TRUNCATE TABLE [import].[Model_Linien_alt]
  144. GO
  145. TRUNCATE TABLE [import].[Modell_Line_Neu]
  146. GO
  147. TRUNCATE TABLE [import].[Modell_Aufbauten]
  148. GO
  149. TRUNCATE TABLE [import].[Modellinien]
  150. GO
  151. TRUNCATE TABLE [import].[Modelljahre]
  152. GO
  153. TRUNCATE TABLE [import].[Produktklasse]
  154. GO