if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[INVOICE]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[INVOICE]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ITEM]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[ITEM]
GO

CREATE TABLE [dbo].[INVOICE] (
	[Number] [int] NULL ,
	[DateIn] [datetime] NULL ,
	[DateOut] [datetime] NULL ,
	[TotalAmount] [money] NULL 
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[ITEM] (
	[Item] [nvarchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
	[Unit_Price] [money] NOT NULL 
) ON [PRIMARY]
GO

