【正文】
具讓我們統(tǒng)一管理所有人的聯(lián)系方式,為此,本系統(tǒng)設(shè)計(jì)為用戶(hù)提供了一個(gè)管理聯(lián)系方式的方法,本設(shè)計(jì)通過(guò)用 SQL server 建立一個(gè)平臺(tái)管理聯(lián)系方式信息,利用數(shù)據(jù)庫(kù),使用戶(hù)可以有效方 便地管理自己的聯(lián)系人資料,本系統(tǒng)改變了我們生活中通訊管理的這一重要信息模塊,使我們搜索聯(lián)系方式更方便簡(jiǎn)潔,本設(shè)計(jì)會(huì)很好的促進(jìn)人們之間的關(guān)系往友好的方向發(fā)展! 關(guān)鍵詞: 數(shù)據(jù)庫(kù) SQL 通訊錄 管理系統(tǒng) Abstract With the popularity of puter, the distance between people more and more close, contact bees more and more close, this needs to be a kind of munication tools let us unified management someone contact, therefore, this system design for the user with a contact methods of the management method, this design by using SQL server to build a platform management contact information, using database, the user can effective convenient to manage their contact information, this system has changed our life of this important munication management information module, so we search contact way more convenient and concise, this design will be very good to promote the relations between people to friendly direction! Key words: data pool SQL address book management system 湖南人文科技學(xué)院 2 《 數(shù)據(jù)庫(kù)原理課程設(shè)計(jì) 》 通訊錄系統(tǒng)數(shù)據(jù)庫(kù)設(shè)計(jì) 一、 引 言 由于紙制或電子形式的通訊錄攜帶不方便,或容易忘記等方面的缺點(diǎn),便設(shè)計(jì)此“通訊錄系統(tǒng)”來(lái)管理常用的通訊錄。 三、 設(shè)計(jì) 方案 需求分析 通訊錄系統(tǒng)數(shù)據(jù)庫(kù)的數(shù)據(jù)需求 通過(guò)與通訊錄系統(tǒng)數(shù)據(jù)庫(kù)用戶(hù)交談等方式以及作者對(duì)通訊錄使用的分析,可以得到 通訊錄數(shù)據(jù)庫(kù)系統(tǒng)的數(shù)據(jù)需求。 通訊錄在記錄個(gè)人信息的同時(shí),順便也保存好家庭住址和辦公住址及其對(duì)應(yīng)的電話(huà),以便在未及時(shí)修改個(gè)人信息的情況下能有其他方式聯(lián)系用戶(hù),做到數(shù)據(jù)的多元選擇。 通訊錄系統(tǒng)以 list 實(shí)體為基礎(chǔ),建立一系列的通訊結(jié)構(gòu),方便簡(jiǎn)潔的管理整體的通訊信息。 湖南人文科技學(xué)院 5 通訊錄系統(tǒng)數(shù) 據(jù)庫(kù)中的聯(lián)系集 ? ListFamily 是 list 和 family 間的一個(gè)多對(duì)一聯(lián)系集。 建立數(shù)據(jù)庫(kù)模式、視圖及索引 create database a_book 湖南人文科技學(xué)院 6 go use a_book go CREATE TABLE list ( list_name CHAR(8) PRIMARY KEY, list_sex CHAR(4), list_mobile_number CHAR(16), list_birthday CHAR(8), list_address CHAR(80) ) go CREATE TABLE family ( family_family_number CHAR(16) PRIMARY KEY, family_family_address CHAR(80) ) go CREATE TABLE office ( office_office_number CHAR(16) PRIMARY KEY, office_office_address CHAR(80), office_e_mail CHAR(20) ) go CREATE TABLE ListFamily (list_name CHAR(8), family_family_number CHAR(16), PRIMARY KEY (list_name,family_family_number), FOREIGN KEY (l