Created
May 28, 2018 00:45
-
-
Save jinan-kordab/c04bba26815e4e12b481c9dab312961a to your computer and use it in GitHub Desktop.
Foreign Key Table for Fast Read and Insert Application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [VERYFASTREADINSERT] | |
GO | |
/****** Object: Table [dbo].[LRT3FK] Script Date: 2018-04-19 20:41:22 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE TABLE [dbo].[LRT3FK]( | |
[PKID] [smallint] NOT NULL, | |
[COLONE] [varchar](100) NULL, | |
[COLTWO] [char](10) NULL, | |
[COLTHREE] [char](50) NULL, | |
[COLFOUR] [smallint] NULL, | |
CONSTRAINT [PK_PKID] PRIMARY KEY NONCLUSTERED | |
( | |
[PKID] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY] | |
) ON [PRIMARY] | |
GO | |
ALTER TABLE [dbo].[LRT3FK] ADD DEFAULT ((1)) FOR [COLFOUR] | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment