Created
July 23, 2017 19:00
-
-
Save CodingTricksHub/2803a17a7e40ac38526cdce494c7b861 to your computer and use it in GitHub Desktop.
This file contains 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
CREATE DATABASE [PhoneBook] | |
GO | |
USE [PhoneBook] | |
GO | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET ANSI_PADDING ON | |
GO | |
CREATE TABLE [dbo].[Directory]( | |
[Id] [int] IDENTITY(1,1) NOT NULL, | |
[Name] [varchar](100) NOT NULL, | |
[Phone_Number] [varchar](100) NOT NULL, | |
CONSTRAINT [PK_Directory] PRIMARY KEY CLUSTERED | |
( | |
[Id] 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 | |
SET ANSI_PADDING OFF | |
GO | |
Insert into Directory values ('Taha Hussain','1234-567890') | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment