有關數據庫的一些基本關鍵字


數據庫關鍵字

關鍵字

中文意思

常用搭配詞

add

增加

alter table 

constraint

Alter

修改

table 

index

database

view

procedure

trigger

alter

修改

 

char

定長字符串

create table.(n)

check

檢查

constraint(條件表達式)

with check option

 

clustered

聚集

index 

column

alter table 

alter column

drop column

 

constraint

約束

add

Create

創建

table 

index

database

view

procedure

trigger

database 

數據庫

alter

create

drop

datetime

日期時間型

create table

default

默認

constraint for

Delete 

刪除

from 

Drop

刪除,放棄

table 

index

database

view

procedure

trigger

Float

浮點型

create table

for

為。。。。

default

foreign

外來的

key references

from

從。。。。

select

delete

identity

標識列

create table

(n,m)

index

索引

unique

nonclustered

clustered

on

Insert 

插入

into values

int

整型

create table

into 

到。。。中

insert

key 

關鍵

primary

foreign

money

貨幣型

create table

nonclustered

非聚集

index 

on

在。。上

index 

primary

主要的

key

real

實數

create table

references

參考引用

foreign key

table

create

drop

alter

unique

唯一

index 

update

更新

set

values

值列表

insert into

Varchar

變長字符串

create table

在以后的項目中一定會用到數據哭的存儲,所以一些有關數據庫的關鍵字得先了解清楚,每個關鍵字都有它自己的作用。《如果有問題的地方請指出》-----人非聖賢孰能無過

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM