随笔分类 - 前端学习-oracle
前端学习=oracle
摘要:10. 数据文件为打开自动扩展 select * from dba_data_files; 查询结果: AUTOEXTENSIBLE MAXBYTES MAXBLOCKS INCREMENT_BY NO 0 0 0 NO 0 0 0 NO 0 0 0 数据文件自动扩展没有开 解决方案:举例: D:\
阅读全文
摘要:7. 11g默认开始密码区分大小写 可以通过把参数设置为 SEC_CASE_SENSITIVE_LOGON =FALSE 屏蔽 alter system set SEC_CASE_SENSITIVE_LOGON =FALSE scope=both; 8. 字符集不同 Database charact
阅读全文
摘要:5. 增加新的数据文件 报:ORA -01691错误 解决描述: 在对应表空间增加新的数据文件 1. select * from dba_data_files ; 查询出表空间的数据文件路径 2.通过语句增加:举例:表空间TSP_MEDSURGERY alter tablespace TSP_MED
阅读全文
摘要:4. listener修改为静态监听 增加红色部分 SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = d:\oracle\product\10.2.0\db_1) (PROGRAM =
阅读全文
摘要:3. 程序报如下错误: 解决步骤: sql> alter system set processes=600 scope=spfile; sql> shutdown immediate; sql> startup
阅读全文
摘要:1. 64bit 下使用 PLSQL Developer 操作步骤 1.把instantclient-basic-win32-11.2.0.1.0压缩包中文件夹instantclient_11_2 复制到 C:\ 2.把D:\oracle\product\10.2.0\db_1\ 路径下的NETWO
阅读全文
摘要:数据库相关日志文件 10g 相关路径 警告日志 D:\oracle\product\10.2.0\admin\docare\bdump\alert_docare.log 监听日志文件 D:\oracle\product\10.2.0\db_1\network\log文件 监听配置文件、TNSNAME
阅读全文
摘要:21建立班级表 CREATE TABLE class( classId NUMBER(2), cName VARCHAR2(40) ); insert into class values(001,'计算机科学与技术'); insert into class values(002,'计算机科学与技术'
阅读全文
摘要:16 create view V as select name||' '||sal as data from student --建立一个视图 select * from V--查询这个视图 17处理数据空值 select xh from student order by 1 desc—空值排列 1
阅读全文
摘要:11插入数据 INSERT INTO student VALUES ('A007', null,'女', '小华', '24-7月-15', 27,17891345129,32000,'工程部'); select * from student where xh is null;--查找某一项值为空
阅读全文
摘要:--创建表 create table emp01 as select * from employees where department_id in (70,80) -- --创建表 create table emp02 as select * from employees where depart
阅读全文
摘要:--子查询 查询last_name为chen的manager信息 select employee_id,last_name from employees where employee_id=( select manager_id from employees where last_name='Che
阅读全文