Sort of pits encountered:When using both RowNum and Ordey by in Oracle, two results occur.The sort field is the primary key, then the sort is performed before the row number is inserted;When the sort field is other, RowNum inserts the line number
Problem Description:Work using kettle to extract data from the original library into the standard library, error during extraction: "ORA-14400: the inserted partition keyword is not mapped to any partition"/"ora-14400:inserted partition key does not
DeclareCursor Cur_test is select Inte_param_inteuuid from Sjzx_interface_param Group by Inte_param_inteuuid; Declares a cursor cur_test, where inte_param_inteuuid is the data to which the cursor is queriedBeginFor the C in Cur_test Loop//Loop
After the Oracle installation is complete and sometimes cannot connect using the IP address or cannot connect at all, we can solve this problem by configuring the monitoring of Oracle;Locate the net Manager for the Oracle folder in the Start menu,
Normal view and materialized view is not a thing at all, say the difference is recklessly together, first understand the basic concept, the normal view is not to store any data, he only defined, in the query is converted to the corresponding
1. Delete Table Drop
1.1 Executing the DROP TABLE table_name statementThe table after the drop is placed in the user Recycle Bin (user_recyclebin) without being deleted directly, and the table in the Recycle Bin can be restored. Obtain the
Data processing refers to the use of SQL's DDL statement, the table of information in the increase and deletion of the check.Insert operationINSERT into Table [(column [, Column ... ]]VALUES [, Value ... ]);Insert a null value into the
1. View server-side encodingSelect Userenv (' language ') from dual;The result I actually found was: American_america. Zhs16gbk2. Execute statement SELECT * FROM V$nls_parametersSee if the value in the parameter item in the first row is the same as
1 --Remove duplicate rows: Distinct2 --scope: Is the combination of all subsequent fields3 Select distinctDeptno Sal fromEMP;4 SELECT * fromEmpORDER bySal;5 --Condition of (date type)6 SELECT * fromEmpWHEREHireDate='1 July-December on -80';7
1 Problems arise:When I recently arrived at a new company and looked at the code, it involved a stored procedure that involved updating the table. The first time you debug, it runs out very quickly. The second time the card is dead, then single-step
WINDOWS10 Remote Desktop Connection error message:Find the method on the internet but what is "WIN10 family" cannot use this method, the specific operation can see the last reference link!!!!Workaround:Run Gpedit.mscLocal Group Policy:Computer
1.oracle Database Creation User2.oracle Database setup Password3.oracle database grants permissions to users4. Specify table spaces5. Create a sequence6. Assigning Values to variables7. Query the number of tables by criteria8.Oracle Database
background: recently contacted with Oracle, previously used by MySQL, so not too understand, documenting the knowledge of OracleOracle's account operation:Note: To create a user and delete a user and authorization, the general user does not have
Modifying table column names in Oracle, using SQL statements
Operations on Fields
Operation method
Update Field Name
ALTER TABLE table_name Rename column column_old to column_new;
Add Field
Reference Address: https://www.cnblogs.com/zhaideyou/articles/5845271.htmlAfter Oracle is installed, there is a default database in which we can create our own database, in addition to the default database.For beginners, to avoid trouble, you can
SQL> select to_char (to_date ('201312', 'yyyymmdd') + interval '1' month, 'yyyymmdd') from dual;
Select to_char (to_date ('20140901', 'yyyymmdd') + interval '1' month, 'yyyymmdd') from dual
ORA-01839: The date of the specified month is invalid
There are two ways to connect to Oracle in Java:
OCI mode and thin mode. The OCI method depends on the local dynamic link library. This method can be used if the Oracle database client is installed locally. The thin method is a Java-only database
1. When using SQL, use
Desc v $ controlfile;
Take a look at the specific length of each column in V $ controfile, and then decide how to use the format Col name for A50 during display;
2 If a. SQL file needs to be restored to Oracle, it is
PL/SQL single-row functions and group functions
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided
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