zno2

随笔分类 -  db:Oracle

1 2 下一页

ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
摘要:ORA-12500 to ORA-12699 ORA-12514, TNS:listener does not currently know of service requested in connect descriptor 数据库没有启动 https://community.oracle.com 阅读全文

posted @ 2023-08-25 16:28 zno2 阅读(25) 评论(0) 推荐(0)

事务隔离级别 transation isolation
摘要:JDBC 资料:java.sql.Connection Spring 资料:org.springframework.transaction.annotation.Isolation MySQL 资料:https://dev.mysql.com/doc/refman/8.0/en/innodb-tra 阅读全文

posted @ 2023-06-02 08:13 zno2 阅读(67) 评论(0) 推荐(0)

Naming Conventions
摘要:https://launchbylunch.com/posts/2014/Feb/16/sql-naming-conventions/ Background Target Audience Why Naming Conventions Are Important Names Are Long Liv 阅读全文

posted @ 2023-06-01 16:45 zno2 阅读(69) 评论(0) 推荐(0)

20 Database Design Best practices
摘要:Use well defined and consistent names for tables and columns (e.g. School, StudentCourse, CourseID …). Use singular for table names (i.e. use StudentC 阅读全文

posted @ 2023-06-01 16:45 zno2 阅读(39) 评论(0) 推荐(0)

:= :1
摘要:https://docs.oracle.com/cd/A97630_01/appdev.920/a96624/01_oview.htm https://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve050.htm#SQPUG133 A 阅读全文

posted @ 2023-06-01 16:24 zno2 阅读(45) 评论(0) 推荐(0)

ORA-01089
摘要:Caused by: java.sql.SQLRecoverableException: ORA-01089: immediate shutdown in progress - no operations are permitted 连查询操作都不允许,谁动了我的数据库?! 阅读全文

posted @ 2023-06-01 16:17 zno2 阅读(66) 评论(0) 推荐(0)

SQuirreL SQL Client 支持各种数据库
摘要:http://squirrel-sql.sourceforge.net/ 下载 jar 安装 启动 进入到主界面发现下面这两个 Aliases 数据库连接 Drivers 数据库驱动 如何添加数据库驱动,下载驱动jar包,放置到%squirrel-sql_home%/lib 下,重新启动 squir 阅读全文

posted @ 2023-06-01 14:20 zno2 阅读(193) 评论(0) 推荐(0)

如何使用PL/SQL Developer 连接remote 数据库
摘要:https://www.allroundautomations.com/plsqldev.html 1. 下载并安装 Oracle Instant Client Free, light-weight and easily installed Oracle Database libraries and 阅读全文

posted @ 2023-06-01 14:07 zno2 阅读(105) 评论(0) 推荐(0)

ora 01795 in 1000 limit
摘要:https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions013.htm https://docs.oracle.com/cd/B19306_01/server.102/b14200/expressions014.htm#i10 阅读全文

posted @ 2018-12-15 18:24 zno2 阅读(324) 评论(0) 推荐(0)

oracle 11g 创建普通用户
摘要:CREATE USER xiaoming IDENTIFIED by xm123123; GRANT CREATE SESSION TO xiaoming; GRANT RESOURCE TO xiaoming; GRANT CONNECT TO xiaoming; CREATE USER http 阅读全文

posted @ 2016-08-05 18:05 zno2 阅读(329) 评论(0) 推荐(0)

ORA-12541: TNS: 无监听程序、监听程序当前无法识别连接描述符中请求的服务
摘要:%ORACLE_HOME%\product\11.2.0\dbhome_1\NETWORK\ADMIN 这个文件夹下有SAMPLE 里面有详细配置说明 有3个文件, listener.ora sqlnet.ora tnsnames.ora 会自动备份,找到好用的那组,修改之后,重新启动电脑即可。 阅读全文

posted @ 2016-08-05 18:05 zno2 阅读(734) 评论(0) 推荐(0)

ORACLE VARCHAR2
摘要:http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements001.htm 语法 VARCHAR2(size [BYTE | CHAR]) 测试建表 测试用例 case1: INSERT INTO v2_test VALUES 阅读全文

posted @ 2016-08-05 18:04 zno2 阅读(242) 评论(0) 推荐(0)

CLOB 和 BLOB
摘要:An SQL CLOB is a built-in type that stores a Character Large Object as a column value in a row of a database table. An SQL BLOB is a built-in type tha 阅读全文

posted @ 2016-08-05 18:03 zno2 阅读(165) 评论(0) 推荐(0)

PL/SQL Developer 窥探事务
摘要:一次登录代表一个连接 一个SQL Window 代表一个会话(session),有唯一的SID 事务(transaction) 由 insert 、update 或者 delete 开启 由 commit 或者 rollback 结束 会话中可以有事务,可以没有事务 会话之间是不可见的(事务中的CU 阅读全文

posted @ 2016-08-05 18:03 zno2 阅读(262) 评论(0) 推荐(0)

LEFT JOIN , RIGHT JOIN ,INNER JOIN
摘要:笛卡尔积 case1: on 条件 case2: on 条件和where 条件 小结: inner join 不保留未匹配的行 left join 保留左表未匹配的行(在on条件剔除后,追加左表未匹配行,然后where条件过滤) right join 保留右表未匹配的行(在on 条件剔除后,追加右表 阅读全文

posted @ 2016-08-05 18:03 zno2 阅读(159) 评论(0) 推荐(0)

select for update [nowait]
摘要:Syntax Syntax The NOWAIT and WAIT clauses let you tell the database how to proceed if the SELECT statement attempts to lock a row that is locked by an 阅读全文

posted @ 2016-08-05 18:03 zno2 阅读(157) 评论(0) 推荐(0)

ORA-00054、ORA-08002
摘要:https://docs.oracle.com/cd/B10501_01/server.920/a96525/e7500.htm ORA-00054 resource busy and acquire with NOWAIT specified 1.查询 2.kill ORA-08002 ORA-0 阅读全文

posted @ 2016-08-05 18:02 zno2 阅读(147) 评论(0) 推荐(0)

常用函数 常见关键字
摘要:site:docs.oracle.com sql functions --聚合函数 site:docs.oracle.com group by function site:docs.oracle.com GROUP BY clause site:docs.oracle.com WHERE Claus 阅读全文

posted @ 2016-08-05 18:02 zno2 阅读(237) 评论(0) 推荐(0)

存储过程及函数初探
摘要:pl/sql procedures new 新建 F8 Ctrl + s 保存 refresh 刷新 test 测试 dbms_output.put_line('Test script | DBMS Output | ...'); IF SQL%ROWCOUNT = 1 THEN XXX ELSE 阅读全文

posted @ 2016-08-05 18:02 zno2 阅读(106) 评论(0) 推荐(0)

如何快速获取官网帮助信息 (附 11g pdf 文档)
摘要:http://docs.oracle.com/en/ 11g Release 2 (11.2) 搜索时指定网站 site:docs.oracle.com create table site:docs.oracle.com listagg 阅读全文

posted @ 2016-08-05 18:02 zno2 阅读(189) 评论(0) 推荐(0)

1 2 下一页

导航