摘要:ORA-12500 to ORA-12699 ORA-12514, TNS:listener does not currently know of service requested in connect descriptor 数据库没有启动 https://community.oracle.com
阅读全文
摘要:JDBC 资料:java.sql.Connection Spring 资料:org.springframework.transaction.annotation.Isolation MySQL 资料:https://dev.mysql.com/doc/refman/8.0/en/innodb-tra
阅读全文
摘要:https://launchbylunch.com/posts/2014/Feb/16/sql-naming-conventions/ Background Target Audience Why Naming Conventions Are Important Names Are Long Liv
阅读全文
摘要:Use well defined and consistent names for tables and columns (e.g. School, StudentCourse, CourseID …). Use singular for table names (i.e. use StudentC
阅读全文
摘要: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
阅读全文
摘要:Caused by: java.sql.SQLRecoverableException: ORA-01089: immediate shutdown in progress - no operations are permitted 连查询操作都不允许,谁动了我的数据库?!
阅读全文
摘要:http://squirrel-sql.sourceforge.net/ 下载 jar 安装 启动 进入到主界面发现下面这两个 Aliases 数据库连接 Drivers 数据库驱动 如何添加数据库驱动,下载驱动jar包,放置到%squirrel-sql_home%/lib 下,重新启动 squir
阅读全文
摘要:https://www.allroundautomations.com/plsqldev.html 1. 下载并安装 Oracle Instant Client Free, light-weight and easily installed Oracle Database libraries and
阅读全文
摘要: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
阅读全文
摘要:CREATE USER xiaoming IDENTIFIED by xm123123; GRANT CREATE SESSION TO xiaoming; GRANT RESOURCE TO xiaoming; GRANT CONNECT TO xiaoming; CREATE USER http
阅读全文
摘要:%ORACLE_HOME%\product\11.2.0\dbhome_1\NETWORK\ADMIN 这个文件夹下有SAMPLE 里面有详细配置说明 有3个文件, listener.ora sqlnet.ora tnsnames.ora 会自动备份,找到好用的那组,修改之后,重新启动电脑即可。
阅读全文
摘要:http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements001.htm 语法 VARCHAR2(size [BYTE | CHAR]) 测试建表 测试用例 case1: INSERT INTO v2_test VALUES
阅读全文
摘要: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
阅读全文
摘要:一次登录代表一个连接 一个SQL Window 代表一个会话(session),有唯一的SID 事务(transaction) 由 insert 、update 或者 delete 开启 由 commit 或者 rollback 结束 会话中可以有事务,可以没有事务 会话之间是不可见的(事务中的CU
阅读全文
摘要:笛卡尔积 case1: on 条件 case2: on 条件和where 条件 小结: inner join 不保留未匹配的行 left join 保留左表未匹配的行(在on条件剔除后,追加左表未匹配行,然后where条件过滤) right join 保留右表未匹配的行(在on 条件剔除后,追加右表
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:pl/sql procedures new 新建 F8 Ctrl + s 保存 refresh 刷新 test 测试 dbms_output.put_line('Test script | DBMS Output | ...'); IF SQL%ROWCOUNT = 1 THEN XXX ELSE
阅读全文
摘要:http://docs.oracle.com/en/ 11g Release 2 (11.2) 搜索时指定网站 site:docs.oracle.com create table site:docs.oracle.com listagg
阅读全文