Skip to content

Instantly share code, notes, and snippets.

@jinan-kordab
Created October 16, 2018 01:36
Show Gist options
  • Select an option

  • Save jinan-kordab/8bc90dd4562d925baac56f5d08ef7267 to your computer and use it in GitHub Desktop.

Select an option

Save jinan-kordab/8bc90dd4562d925baac56f5d08ef7267 to your computer and use it in GitHub Desktop.
Two Way DB Create User Info Table
USE [TwoWayDataBinding]
GO
/****** Object: Table [dbo].[UserInfo] Script Date: 2018-02-20 22:34:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[UserInfo](
[UserDayPhone] [nvarchar](50) NULL,
[UserStreet] [nvarchar](max) NULL,
[UserApartment] [nvarchar](50) NULL,
[UserCity] [nvarchar](50) NOT NULL,
[UserProvince] [nvarchar](50) NULL,
[UserPostalCode] [nvarchar](50) NULL,
[UserEmail] [nvarchar](max) NULL,
[UserIDPK] [bigint] IDENTITY(1,1) NOT NULL,
CONSTRAINT [PK_UserInfo] PRIMARY KEY CLUSTERED
(
[UserIDPK] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment