Skip to content

Instantly share code, notes, and snippets.

@ste-bel
Created December 15, 2021 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ste-bel/b8fedc53a4cb63e20b829b0a14bf4a8f to your computer and use it in GitHub Desktop.
Save ste-bel/b8fedc53a4cb63e20b829b0a14bf4a8f to your computer and use it in GitHub Desktop.
CREATE TABLE [dbo].[BAccount](
[CompanyID] [int] NOT NULL,
[BAccountID] [int] IDENTITY(1,1) NOT NULL,
[AcctCD] [nvarchar](30) NOT NULL
...
CONSTRAINT [BAccount_PK] PRIMARY KEY CLUSTERED
(
[CompanyID] ASC,
[BAccountID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment