1. Forget the logon password of a user except sys and system.
Log On As A sys (or system) user.
Conn sys/pass_word as sysdba;
Use the following statement to modify the user password.
Alter user user_name identified by newpass;
Note: The
1. Introduction Script: a script is an executable file written in a certain format in a specific descriptive language, also known as a macro or batch processing file.
Ii. Background Recently, the Oracle database has been installed in windows.
ConnectLast timeTo continue, IDs in tmp_emp are generated based on the sequence sq_tmp_emp. You need to set in tmpemp. HBM. xml:
sq_tmp_emp
In this way, Hibernate will automatically retrieve nextval from sq_tmp_emp to fill in the ID field.
1. Export tool exp
1. It is the next executable file in the operating system.Storage directory/ORACLE_HOME/bin
The exp export tool compresses data backup in the database into a binary system file, which can be migrated between different
The SQL statement is too long and needs to be stored through the array dbms_ SQL .varchar2s. Before execution.
DeclareRochelle stmt dbms_ SQL .varchar2s;Rochelle cursor integer default dbms_ SQL .open_cursor;Rows number default 0;Rochelle length
Oracle Spatial: spatial concepts1 What is Oracle Spatial?Provides SQL schema and functions to facilitate the storage, retrieval, update, and query of a set of spatial features.MDSYS provides the type of geographic data2 object-relational
Today, we will summarize the Oracle Job Queue Manager (Job Queue), which will be convenient for future queries.There are two ways to do a scheduled task:
One is: OS timing, win scheduled task, and Unix crontab.One is: database-level timing, her
The stored procedure has been written in oracle10,CodeAs follows:
Create or replace procedure proc_insert (sname in varchar2, sage in int, sexetime in varchar2) isbegin insert into t_test (c_id, c_name, c_age, c_intime, c_exetime) values (values,
previous: oracle DBA Study Notes-control files
RedoLog Files
Redo log files record the changes made to the database (or changes to transactions) in the form of redo records, including the execution of DMLOrDDLStatement modification to the
Sina financial news Beijing time on Monday evening news, Oracle (orcl) announced that it will be at $9.50 per share, a total of $7.4 billion in cash price of Sun Micro System (Java ).
The transaction price is 6.69 higher than sunsun's closing price
To put it simply:
1. Find the OCI. dll and oraociei10.dll tnsnames. ora files (available on the Oracle client) and put them in your application.ProgramDirectory.
2. You must have a tnsnames. ora file which can be opened and edited in notepad.
3.
The Oracle Database Administrator should perform regular monitoring on the Oracle database system as follows:
(1) daily running status, log files, backups, and data of Oracle databases
Library space usage, system resource usage check, find and
1> how to modify the monitoring port of Oracle Database lite Mobile Server?
Solution: In the default-web-site.xml under the [Oracle Database lite installation directory] \ mobile_productname \ J2EE \ mobileserver \ config \ directory:
Code
Oracle date functions:There are many date functions in oracle, such:1. add_months () is used to increase or decrease the number of months from a date value.Date_value: = add_months (date_value, number_of_months)Example:SQL> select add_months
The global_name of the three databases is as follows:
Orcl16.com 192.168.100.16 (primary database, that is, data source)
Orcl8.com 192.168.100.8 (copy database)
Dtgdb.com 192.168.100.150 (copy database)
Set initialization parameters for the three
Note: The password entered during database creation is to change the default password of the system, the password you need to enter when logging on with the system, sysman, and other system default identities is the modified password (the password
A database is a shared resource used by multiple users. When multiple users access data concurrently, multiple transactions can access the same data simultaneously in the database. If concurrent operations are not controlled, incorrect data may be
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