if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[SetfileFornitori]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

CREATE TABLE [dbo].[SetfileFornitori](
	[idfornitore] [bigint] NOT NULL,
	[tipo_file] [char](50) NOT NULL,
	[codfor_da] [bigint] NOT NULL,
	[codfor_a] [bigint] NOT NULL,
	[descr_da] [bigint] NOT NULL,
	[descr_a] [bigint] NOT NULL,
	[qta_da] [bigint] NOT NULL,
	[qta_a] [bigint] NOT NULL,
	[prezzo_da] [bigint] NOT NULL,
	[prezzo_a] [bigint] NOT NULL,
	[iva_da] [bigint] NOT NULL,
	[iva_a] [bigint] NOT NULL,
	[barcode_da] [bigint] NOT NULL,
	[barcode_a] [bigint] NOT NULL,
	[prezzoAcq_da] [bigint] NULL,
	[prezzoAcq_a] [bigint] NULL,
	[um_da] [bigint] NULL,
	[um_a] [bigint] NULL,
	[tipologia_da] [bigint] NULL,
	[tipologia_a] [bigint] NULL,
 CONSTRAINT [PK_olivend_setfileFornitori] PRIMARY KEY CLUSTERED 
(
	[idfornitore] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO