IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[NETPOINTS_MOV]')) 
	BEGIN 
		RETURN;
	END
ELSE
BEGIN
CREATE TABLE [dbo].[NETPOINTS_MOV](
	[ID] [bigint] IDENTITY(1,1) NOT NULL,
	[CD_EMP] [int] NOT NULL DEFAULT ((1)),
	[CD_FILIAL] [int] NOT NULL,
	[DT_MOV] [datetime] NOT NULL,
	[ST_MOV] [int] NOT NULL DEFAULT ((0)),
	[DT_CAD] [datetime] NOT NULL DEFAULT (getdate()),
	[DT_ALT] [datetime] NULL,
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 = 90) ON [PRIMARY]
) ON [PRIMARY]





END


