MS SQL Create Table

mssql_logo

here is the sample of SQL code:

GO
CREATE TABLE [dbo].[tblDepartment] (
[d_id] [bigint] IDENTITY (1000000, 1) NOT NULL,
[d_code] [nvarchar] (100) NOT NULL,
[d_name] [nvarchar] (255) NOT NULL,
[d_note] [text] NOT NULL,
[d_status] [nvarchar] (10) NOT NULL
)ON [PRIMARY]
GO

— by apit

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s