99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
首頁精彩閱讀什么是數(shù)據(jù)庫對象
什么是數(shù)據(jù)庫對象
2016-05-14
收藏

什么是數(shù)據(jù)庫對象

數(shù)據(jù)庫對象是數(shù)據(jù)庫的組成部分,常見的有以下幾種:

1 表(Table )

數(shù)據(jù)庫中的表與我們?nèi)粘I钪惺褂玫谋砀耦愃?,它也是由行(Row) 和列(Column)組成的。列由同類的信息組成,每列又稱為一個字段,每列的標題稱為字段名。行包括了若干列信息項。一行數(shù)據(jù)稱為一個或一條記錄,它表達有一定意義的信息組合。一個數(shù)據(jù)庫表由一條或多條記錄組成,沒有記錄的表稱為空表。每個表中通常都有一個主關(guān)鍵字,用于惟一地確定一條記錄。

2 索引(Index)

索引是根據(jù)指定的數(shù)據(jù)庫表列建立起來的順序。它提供了快速訪問數(shù)據(jù)的途徑,并且可監(jiān)督表的數(shù)據(jù),使其索引所指向的列中的數(shù)據(jù)不重復。

3 視圖(View)

視圖看上去同表似乎一模一樣,具有一組命名的字段和數(shù)據(jù)項,但它其實是一個虛擬的表,在數(shù)據(jù)庫中并不實際存。在視圖是由查詢數(shù)據(jù)庫表產(chǎn)生的,它限制了用戶能看到和修改的數(shù)據(jù)。由此可見,視圖可以用來控制用戶對數(shù)據(jù)的訪問,并能簡化數(shù)據(jù)的顯示,即通過視圖只顯示那些需要的數(shù)據(jù)信息。

4 圖表(Diagram)

圖表其實就是數(shù)據(jù)庫表之間的關(guān)系示意圖。利用它可以編輯表與表之間的關(guān)系。

5 缺省值(Default)

缺省值是當在表中創(chuàng)建列或插入數(shù)據(jù)時,對沒有指定其具體值的列或列數(shù)據(jù)項賦予事先設定好的值。

6 規(guī)則(Rule)

規(guī)則是對數(shù)據(jù)庫表中數(shù)據(jù)信息的限制。它限定的是表的列。

7 觸發(fā)器(Trigger)

觸發(fā)器是一個用戶定義的SQL事務命令的集合。當對一個表進行插入、更改、刪除時,這組命令就會自動執(zhí)行。

8 存儲過程(Stored Procedure)

存儲過程是為完成特定的功能而匯集在一起的一組SQL 程序語句,經(jīng)編譯后存儲在數(shù)據(jù)庫中的SQL 程序。

9 用戶(User)

所謂用戶就是有權(quán)限訪問數(shù)據(jù)庫的人。


數(shù)據(jù)分析咨詢請掃描二維碼

若不方便掃碼,搜微信號:CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線
立即咨詢
客服在線
立即咨詢
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個參數(shù)驗證碼對象,之后可以使用它調(diào)用相應的接口 initGeetest({ // 以下 4 個配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶后臺檢測極驗服務器是否宕機 new_captcha: data.new_captcha, // 用于宕機時表示是新驗證碼的宕機 product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說明請參見:http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計時完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }