freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計(jì)(學(xué)生成績管理系統(tǒng))(更新版)

2025-09-17 16:07上一頁面

下一頁面
  

【正文】 …………………………25……………………………………………….27六 總結(jié)……………………………………………………………27 學(xué)生信息管理系統(tǒng)一 概述隨著科技的發(fā)展,基本上所有的具有一定數(shù)量數(shù)據(jù)的機(jī)構(gòu)都開始使用計(jì)算機(jī)數(shù)據(jù)庫來做管理。利用SQL Server 2000建立“學(xué)生選課”數(shù)據(jù)庫,其基本表清單及表結(jié)構(gòu)描述如下:數(shù)據(jù)庫中用到的表:數(shù)據(jù)庫表名關(guān)系模式名稱備注Student學(xué)生學(xué)生個(gè)人信息表Course課程課程基本信息表Class班級班級成績信息表SC學(xué)生選課學(xué)生選課信息SC基本情況數(shù)據(jù)表,結(jié)構(gòu)如下:字段名字段類型Not Null說明SC _snoCharPrimary key學(xué)號Student _CnocharPrimary key課程號Student _Gradeintnot null成績Student表信息Student _SnocharPrimary key學(xué)號Student _Snamevarcharnot null姓名Student _Ssexcharnot null性別Student _Sageintnot null年齡Student _SClnocharnot null班級號course數(shù)據(jù)表,結(jié)構(gòu)如下:字段名字段類型約束控制說明C ourse_ochar主鍵(primary key)課程號C ourse_amevarcharreference 課程名C ourse_cpnocharnot null先修課課號C ourse_ccreditintnot null學(xué)分Course ctnocharnot null教師號Class情況數(shù)據(jù)表,結(jié)構(gòu)如下:字段名字段類型約束控制說明C lass clnocharprimary key班級號C lass clnamevarcharnot null班級名稱三 概念模型設(shè)計(jì)由需求分析的結(jié)果可知,本系統(tǒng)設(shè)計(jì)的實(shí)體包括:(1)學(xué)生基本信息:(學(xué)號,姓名,性別,年齡,班級號,成績)。 在主關(guān)鍵字上建立索引;在經(jīng)常用于連接的列上建立索引,即在外鍵上建立索引;在經(jīng)常需要根據(jù)范圍進(jìn)行搜索的列上創(chuàng)建索引,因?yàn)樗饕呀?jīng)排序,其指定的范圍是連續(xù)的等規(guī)則。 CString str。 str=(LPCSTR)_bstr_t(var)。 if(atof(m_StuID)==atof(str)) { AfxMessageBox(該學(xué)生已存在)。 m_pRecordsetPutCollect(Sage,)。 AfxMessageBox(插入成功!)。 return。 } else { try { m_pRecordsetPutCollect(Sno,_variant_t(m_StuID))。 AddToGrid()。 m_pRecordsetMoveLast()。 m_StuAge=。 } catch(__error *e) { AfxMessageBox(eErrorMessage())。 (__uuidof(Recordset))。 // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE}void CDialogCOU::Add(){ _variant_t var。 return。 } if(/*m_CouPno== || */atof(m_CouPno)==0) { AfxMessageBox(先修課課程號不能為0)。 return。 } else { try { m_pRecordsetPutCollect(Cno,_variant_t(m_CouID))。 ()。 if(m_ClaID==||atof(m_ClaID)==0) { AfxMessageBox(請重新輸入正確的課程號)。 break。 ()。 if(m_ClaID== || atof(m_ClaID)==0) { MessageBox(請輸入要?jiǎng)h除的班級號!)。%s39。 m_pRecordsetDelete(adAffectCurrent)。 (FALSE)。 } break。 m_pRecordsetPutCollect(Clname,_variant_t(m_ClaName))。 }}void CDialogCLA::OnButtonFirst() { // TODO: Add your control notification handler code here m_pRecordsetMoveFirst()。 m_ClaName=str。 } try { var=m_pRecordsetGetCollect(Clno)。 }}void CDialogCLA::OnButtonNext() { // TODO: Add your control notification handler code here m_pRecordsetMoveNext()。 var=m_pRecordsetGetCollect(Clname)。 try { var=m_pRecordsetGetCollect(Clno)。 }}第 25 頁:第 27 頁下圖顯示了學(xué)生登陸系統(tǒng)進(jìn)行查詢時(shí)界面:下圖顯示了進(jìn)行班級查詢時(shí)界面:查找班級號為9的班級名添加班級號為10,班級名為信電學(xué)院添加前添加成功添加后查找排列最前的班級查找最后的班級號查找學(xué)號為200215132學(xué)生的個(gè)人信息查找排在最后的學(xué)生信息當(dāng)試運(yùn)行數(shù)據(jù)庫合格后,數(shù)據(jù)庫開發(fā)設(shè)計(jì)的工作就基本完成了,接下來就是正式運(yùn)行中的調(diào)試,應(yīng)為該系統(tǒng)比較簡單,數(shù)據(jù)量小,數(shù)據(jù)庫中幾乎不會發(fā)生什么大的變化,但是還是需要做好數(shù)據(jù)的備份,在sqlserver中我們可以利用備份數(shù)據(jù)庫的功能對已經(jīng)設(shè)計(jì)好的數(shù)據(jù)做備份,如果數(shù)據(jù)庫受到破壞或系統(tǒng)故障,我們便可輕松的利用備份文件恢復(fù)數(shù)據(jù)庫的
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1