IF NOT EXISTS (SELECT * FROM SYSOBJECTS
              WHERE  SYSOBJECTS.name = 'KALITEKONTROLFORMLOG')

CREATE TABLE [dbo].[KALITEKONTROLFORMLOG](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TARIHI] [datetime] NULL,
	[FORMKODU] [nvarchar](50) NULL,
	[FORMADI] [nvarchar](500) NULL,
	[FORMYOLU] [nvarchar](max) NULL,
	[FORMACILDI] INT NULL,
	[HATAACIKLAMA] [nvarchar](500) NULL,
	[KULLANICI] [nvarchar](20) NULL,
	[HOST] [nvarchar](100) NULL,
	[IP] [nvarchar](30) NULL,
 CONSTRAINT [PK_KALITEKONTROLFORMLOG] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO


