Forget the login password for users other than SYS and system users.
Log on with the SYS (or system) user.
CONN Sys/pass_word as SYSDBA;
Use the following statement to modify the user's password.
ALTER USER user_name identified by Newpass;
Note:
1. Group function Usage Rules
Group functions in MySQL can be used at will in a SELECT statement, but in Oracle if there is a group function in the query, the other column names must be processed by the group function, or the column in the GROUP BY
A packaged tool class that links Oracle databases to easily get connection objects to close statement, ResultSet, statment objects, and so on
Copy Code code as follows:
Package myutil;
Import java.sql.Connection;
Import
Students who write SQL frequently may use the two Keywords Union and union all, and maybe you know that they can combine the result sets of two queries.
So what's the difference? Below we have a simple analysis.
Comparison
Union: Distinct The two
ORA-00604 error occurred at recursive SQL level string
Cause:an error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).
Action:if the situation described in the next error on the stack can is
How to deal with the large types of CLOB and blobs
CLOB can be used to store large text data, storing up to 4GB of data, and is more common in application development. Java provides a corresponding Sql.clob class. It provides two methods to read
Nub Backup Oracle can perform Oracle backup and recovery operations by invoking the Oracle RMAN utility through the NetBackup graphical interface or the Oracle command-line interface. In addition, Oracle Archiving and restore operations can be
Problem
These two days just will plsql and Oracle configuration, but in plsql insert data, there is a problem, Plsql table can not display Chinese, Chinese can not save, unable to output, Chinese in the tables show the question mark, as shown:
The Oracle 11g default installation database starts the audit feature, resulting in increased Oracle cumulative sys.aud$ table and associated index data volumes;
If the table space is full, the ora-1654:unable to extend index SYS will be reported
Citation Link: http://blog.csdn.net/w183705952/article/details/7367272The second: The growth strategy for setting the ID is native, but you need to create a globally used sequence named Hibernate_sequence (the name is the default sequence name of
Reprint: http://www.cnblogs.com/djcsch2001/articles/1823459.htmlIndex, index creation, modification, deletionIndexAn index is an object in a relational database that is used to hold each record, and the main purpose is to speed up the reading speed
Trunc,to_char,round,cast1.trunc intercept the number, the decimal place directly, the whole digit takes 0. Do not make roundingThe second argument is the number of bits to intercept, and if it is not an integer, only the integer digits.2.to_char (),
turn from: http://blog.csdn.net/ahngzw77/article/details/8652722 for SQL spool data, it is best to define your own format to facilitate direct import of the program, SQL statements such as:Select Taskindex| | ' | ' | | commonindex| | ' | ' | |
In connection with the database, sometimes encountered a "ORA12514: Listener currently does not recognize the service requested by the connection descriptor" error, which is actually the database dynamic registration (about dynamic registration will
Oracle Database automatic Backup implementation effect
Export DMP format files using the Oracle EXP command;
Automatically compress DMP files using 7z command line to reduce storage space;
Use Windows timed tasks to automatically
--Simple conditional judgment if–then--write a procedure that can enter an employee's name and, if the employee's salary is less than 2000, increase the employee's salary by 10%. Create or Replace procedure Sp_pro6 (spname varchar2) is--Define V_sal
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