if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Water]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Water]
GO

CREATE TABLE [dbo].[Water] (
	[Id] [int] IDENTITY (1, 1) NOT NULL ,
	[Water_Name] [nvarchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[Water_Time] [datetime] NULL ,
	[Water_Photo] [nvarchar] (200) COLLATE Chinese_PRC_CI_AS NULL ,
	[Water_Text] [nvarchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[Water_P_Transparence] [int] NULL ,
	[Water_T_Transparence] [int] NULL ,
	[Water_P_Position] [int] NULL ,
	[Water_T_Position] [int] NULL ,
	[Water_P_Draw] [int] NULL ,
	[Water_T_Draw] [int] NULL ,
	[Water_P_X] [int] NULL ,
	[Water_T_X] [int] NULL ,
	[Water_P_Y] [int] NULL ,
	[Water_T_Y] [int] NULL ,
	[Water_T_Font_Size] [int] NULL ,
	[Water_T_Font_Color] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[Water_T_Font] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Water] WITH NOCHECK ADD 
	CONSTRAINT [PK_Water] PRIMARY KEY  CLUSTERED 
	(
		[Id]
	)  ON [PRIMARY] 
GO

