首页 > 代码库 > 数据库基础
数据库基础
1.SQL命令的类型:
DDL(数据定义语言)包括:
create table
alter table
drop table
create index
alter index
drop index
create view
alter view
DML(数据操作语言)包括:
insert
update
delete
DQL(数据选择语言)包括:
select
DCL(数据控制语言)包括:
alter password (修改密码)
grant (授予)
revoke (撤回)
create synonym (同义词)
2.数据类型进行显示转换函数: cast 或 convert
3.修改表元素属性:
sql server: alter table ... alter column ...
oracle: alter table ... alter modify ...
4.
数据库基础
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。