LogBase.txt 242 B

1234567891011121314151617
  1. USE [xyy_erp]
  2. GO
  3. declare @tableCount int =0
  4. select @tableCount= count(*) from information_schema.tables where table_name='{0}'
  5. if(@tableCount =0)
  6. begin
  7. SET ANSI_NULLS ON
  8. GO
  9. SET QUOTED_IDENTIFIER ON
  10. GO
  11. CREATE TABLE [dbo].[{0}](
  12. {1})