LogBase.txt 238 B

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