SQL
USE [PrintMonitor]
GO
/****** Object:  Table [dbo].[Print Servers]    Script Date: 10/15/2008 21:36:00 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Print Servers](
	[Name] [varchar](255) NOT NULL,
	[License] [uniqueidentifier] ROWGUIDCOL  NOT NULL CONSTRAINT [DF_Print Servers_License]  DEFAULT (newid()),
	[Password] [varchar](50) NULL,
	[User name] [varchar](255) NOT NULL CONSTRAINT [DF_Print Servers_User name]  DEFAULT (suser_sname()),
	[Timestamp] [datetime] NOT NULL CONSTRAINT [DF_Print Servers_Timestamp]  DEFAULT (getdate()),
 CONSTRAINT [PK_Print Servers] PRIMARY KEY CLUSTERED 
(
	[Name] 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
SET ANSI_PADDING ON
go

Last edited Oct 15, 2008 at 8:36 PM by Merrion, version 1

Comments

No comments yet.