随笔分类 - Oracle
摘要:--基本函数--select name,count(id) from work_test group by name having count(id)>1--select upper(name),t.*,lower(name),substr(name,1,5) from WORK_TEST t--连
阅读全文
摘要:--创建用户 --语句结构CREATE USER 用户名 IDENTIFIED BY 口令 [ACCOUNT LOCK|UNLOCK] Create User xx IDentified by Lock|UNLOCK --默认锁定用户 不可登陆 Create User xx IDENTIFIED B
阅读全文
摘要:创建表 SQL>create table classes( classId number(2), cname varchar2(40), birthday date ); 添加一个字段 SQL>alter table student add (classId number(2)); 修改字段长度 SQL>al...
阅读全文

浙公网安备 33010602011771号