|
USE [test]
GO
/****** Object: Table [dbo].[UserInformation] Script Date: 02/23/2011 22:03:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[UserInformation](
[UserID] [int] IDENTITY(1,1) NOT NULL,
[FirstName] [nvarchar](50) NOT NULL,
[LastName] [nvarchar](50) NOT NULL,
[Record_Entered] [datetime] NOT NULL,
[Record_User] [nvarchar](50) NOT NULL,
[Record_Updated] [datetime] NOT NULL,
CONSTRAINT [PK_UserInformation] PRIMARY KEY CLUSTERED
(
[UserID] 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
ALTER TABLE [dbo].[UserInformation] ADD CONSTRAINT [DF_UserInformation_Record_Entered] DEFAULT (getdate()) FOR [Record_Entered]
GO
ALTER TABLE [dbo].[UserInformation] ADD CONSTRAINT [DF_UserInformation_Record_User] DEFAULT (suser_sname()) FOR [Record_User]
GO
ALTER TABLE [dbo].[UserInformation] ADD CONSTRAINT [DF_UserInformation_Record_Updated] DEFAULT (getdate()) FOR [Record_Updated]
GO
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Milan has been developing commercial applications over a decade primarily on Windows platform. When not programming, he loves to test his physical endurance - running far away to unreachable distance or hiking up in the mountains to play with Yaks and wanting to teach 'Yeti' programming!