
/*------ ATD 307522 ------*/
IF NOT EXISTS (SELECT 1 FROM SYSOBJECTS WHERE xtype='U' AND name='NFMANUALCHAVEACESSO') 
BEGIN
CREATE TABLE NFMANUALCHAVEACESSO
(
	ID INT Identity(1,1) NOT NULL,
	FILIAL VARCHAR(2),
	NUMNOTA VARCHAR(13),
	SERIE VARCHAR(3),
	CHAVEACESSO VARCHAR(44)
)
ALTER TABLE NFMANUALCHAVEACESSO ADD CONSTRAINT PK_NFMANUALCHAVEACESSO PRIMARY KEY CLUSTERED(Id)
END
GO