Turn the notes of a great God.The most commonly used Oracle character set ZHS16GBK (GBK 16-bit Simplified Chinese) in the country supports traditional Chinese and stores a Chinese character in 2-character lengths. The UTF8 character set is
Characters are converted to dates in two waysSELECT Date ' 2016-06-03 ' from dualSelect To_date (' 2016-06-03 ', ' YYYY-MM-DD ') from dualSysdate+1 Plus One daySYSDATE+1/24 plus 1 hoursSYSDATE+1/(24*60) plus 1 minutesSYSDATE+1/(24*60*60) plus 1
Structured Query Language (structured query Language) is a special-purpose programming language, a database query and programming language for accessing data and querying, updating, and managing relational database systems .It does not require the
I. Building a library1. (Click the button with the green + sign in the upper left corner)2. (Enter this interface, PASSOWRD is the password.) When you are finished, click on the Test button in the row below and click Connect without exception.Two.
Http://blog.sina.com.cn/s/blog_a45aac720100yu3h.htmlError-util.jdbcexceptionreporter>: Breach of agreementError-util.jdbcexceptionreporter>: OALL8 in an inconsistent state!Recently been entangled in this problem for a long time, yesterday finally
Other: The memory in the computer is linear, one-dimensional. Length ("'count the number of characters, not the number of bytes the date type and numeric type data in Oracle can do operators (>,=,) comparison occurs when the Oracle database is
1 Select * fromUser_lobswheretable_name='Wx_mail';--sys_lob0001313121c00015$$2 SELECTSegment_name asTablename,bytes/1024x768/1024x768MB fromUser_segmentsWHERESegment_name='sys_lob0001313121c00015$$';Wx_mail has a Content field Clob type that holds
1. Row migrationWhen an update is issued to increase the number of records, the remaining space in the block is not sufficient to hold this record, it will result in a row migration, the ROWID will not change when the row is migrated, the original
1. Date-time interval operationTime minus 7 minutes for the current timeSelect Sysdate,sysdate-interval ' 7 ' MINUTE from dualThe current time minus 7 hours of timeSelect Sysdate-interval ' 7 ' hour from dualThe current time minus 7 daysSelect
Build table Information1. Table Structure EMP----Employee Information Sheetename VARCHAR2 (30),--NameEmpno Number (5),--NumberDeptno Number (5),--Your departmentJob varchar2 (20),- Types of jobs (categories of personnel), such as manager managers,
1. With-as-select syntax: equivalent to temporary tableWith T as (SELECT * from emp where deptno=10)select * from T;2. Case syntax and decode syntaxDECODE (Value,if1,then1,if2,then2,if3,then3,..., else)1 Select(2 Caseename3 when
Problem: When using MyBatis BULK INSERT, MySQL uses the foreach tag to connect each record by a comma ",".However, Oracle does not support it.Oracle supports the following notation:InsertID= "Insertstudents">INSERT into Student (ID, name, age,
Ora-12154:tns: Unable to resolve the specified connection identifierThe way the Oracle database is connected in a program is different from other commonly used databases such as Mysql,sql server, which can be connected by directly specifying IP, but
First, select basic syntax:SELECT *| {[DISTINCT] column|expression [alias],...} fromtable;Select identifies which columns are selected.From identifies the table from which to select.1. Remove all columns from the tableSELECT * from EMP;Connected to
Modify the syntax of the field: ALTER TABLE tablename modify (column datatype [default value][null/not null],....);Syntax for deleting a field: ALTER TABLE tablename drop (column);Add, modify, and delete multiple columns, separated by commas.Use
1. Download the Oracle instance client. Http://www.oracle.com/technetwork/database/features/instant-client/index-097480.htmlSince the machine is 64-bit, the 64-bit version is downloaded. But later found that Plsql is 32-bit, and downloaded the
I. PrefaceIn our operating system, sometimes to unload the Oracle database, each time to remove the win under the registry, in order to facilitate the removal of the registry information, the following through a delete registry shortcut script.Two.
1, using ORDER BYChinese character coding rules, there is a reference to the following sentence: "First-class Chinese characters, is the most commonly used Chinese characters, alphabetical alphabetical order, a total of 3,755, two-level Chinese
Linux installs Oracle client separately (Oracle clients)
Updated: 2013-10-17 18:30
|
Tags:linux oracle
1. To use Oracle remotely, download the following three files first, and note that the best version is the same.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service