
IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[PRC_SISTEMAS_CTR_VERSAO_TOTAL]') AND type in (N'U'))
BEGIN
	CREATE TABLE [dbo].[PRC_SISTEMAS_CTR_VERSAO_TOTAL](
		[CD_CTR] [int] NULL,
		[CD_USU] [int] NOT NULL DEFAULT 0,
		[DT_HR_LOGIN] [smalldatetime] NOT NULL DEFAULT 0,
		[END_IP] [varchar](50) NOT NULL DEFAULT '',
		[MAQUINA] [varchar](150) NOT NULL DEFAULT '',
		[SISTEMA] [varchar](50) NULL DEFAULT '',
		[VERSAO] [varchar](50) NULL DEFAULT ''
	) ON [PRIMARY]
END

