Skip to content

irajuahmed/All-Bangladeshi-Division-and-District-List-in-SQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Intoduction

Sometime we need to all bangladeshi divisions and district data in sql format but it's hard to find it in open source. That's why I made bangladeshi all division and bangladeshi all district data in sql format.

SQL Table(s)

What things you need to install the software and how to install them

USE [BDInfo]
GO
/****** Object:  Table [dbo].[District]    Script Date: 2/18/2020 5:18:35 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[District](
	[Id] [int] NOT NULL,
	[Name] [varchar](100) NOT NULL,
	[DistrictId] [int] NOT NULL,
 CONSTRAINT [PK_District] 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
/****** Object:  Table [dbo].[Division]    Script Date: 2/18/2020 5:18:35 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Division](
	[Id] [int] NOT NULL,
	[Name] [varchar](100) NOT NULL,
 CONSTRAINT [PK_Division] 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

SQL Table Sample Data For Bangladeshi Division(s)

INSERT [dbo].[Division] ([Id], [Name]) VALUES (1, N'Chattogram')
INSERT [dbo].[Division] ([Id], [Name]) VALUES (2, N'Rajshahi')

SQL Table Sample Data For Bangladeshi District(s)

INSERT [dbo].[District] ([Id], [Name], [DivisionId]) VALUES (1, N'Cumilla', 1)
INSERT [dbo].[District] ([Id], [Name], [DivisionId]) VALUES (2, N'Feni', 1)
INSERT [dbo].[District] ([Id], [Name], [DivisionId]) VALUES (13, N'Pabna', 2)
INSERT [dbo].[District] ([Id], [Name], [DivisionId]) VALUES (14, N'Bogura', 2)

Built With

Author

Note :

  • It can be changed on administrative changes by the Bangladeshi Govt.

The End

Find me on following(s)Support me on
github logo instagram logo Linkedin Logo stack logo

https://www.buymeacoffee.com/mIUyB3X5P