Tips:
The picture you want to insert must be saved to the Oracle host path.
Steps:
1, SYSDBA permissions users create the directory of the picture
CREATE OR REPLACE DIRECTORY test_dir as ' C:\Pictures '; --The pathname "test_dir" must be
Oralce automatically backs up and deletes 5 days before backup in Linux Export script: Export oracle_base=/opt/oracle ---Installation path Export oracle_home=/opt/oracle/920 ---Products catalog Export path=/ora/bin:$
Deletes the name of a table (record and structure) Delete ———— truncate ———— drop
Delete (delete the statement that is logged in the datasheet)
DELETE from table name WHERE condition;
Note: Deleting records does not release the data block tablespace
Transactions in Oracle
A set of SQL statement operations to become a transaction, the database management system must ensure the atomic (atomicity), consistency (consistency), isolation (isolation) and persistence (durability) of this set of
Select Max (Sys_connect_by_path (username, '; ') from(SelectU.username,rownum roFromT_base_user U,t_base_role_user ruwhereU.id = Ru.userid) NewtabStart with newtab.ro = 1Connect by Prior newtab.ro = Newtab.ro-1
Note: T_base_user is a user table
one, Nested loops join (Nested loop)
The main is to select a table as the appearance, and then the circulation of the appearance, and each of the records in the outer surface loop.The way nested loops join works is this:1. Oracle first selects a
Oracle database-Data for the Monday date
SELECT * from Tab_kaijiang_info t where To_char (to_date (t.kj_date, ' yyyy-mm-dd '), ' D ') =1 and t.cz_id=2 order by t.kj_date Desc
Note: tab_kaijiang_info: For lottery information table
To_date
In the Chinese application Management system, the UTF8 format replaces the GB2312 database storage more and more is set to the default format, this kind of internationalized coding format has brought the great benefit in the resolution text format
Oracle9i to the Chinese character sorting default Pinyin sort, but I recently sent a new arrangement of the results are not accurate, through the Internet to find, the solution is as follows:
Method 1: Set the environment variableSet
A few weeks ago I learned the seam framework, seam ejb3 and JSF, and the development is much simpler, much like Ror ^_^. Seam development can put more effort into business requirements and reduce the time spent on code.
To facilitate seam
1. From http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.htmlDownload a few compression packs, extract to a directory, d:/oracleclient
Instantclient-basic-win32-10.1.0.2.zip: This is the core package.Instantclient-jdbc-
The Naming convention for this file defaults to: Init$oracle_sid.ora (under UNIX environment) Init%oracle_sid%.ora (under Windows environment) Places it in the following directory by default $ Oracle_home/dbs (Unix) %oracle_home%/database
Oracle Increase, delete, change, check operation
1. SelectSelect distinct *| field | expression as alias from table table aliasselect * from table name; Query All field information for all records in a tableselect column name from table name;
Guide:
I haven't seen much of Oracle's technical documentation for a long time, and today I read an Oracle Response time optimization and method R. This is the classic book of Optimizing Oracle Performance Classics. The main idea. R represents
Oracle 10g is installed under Win2008, prompt program terminates abnormally, unknown error occurred
Modify Oracle 10g\database\stage\prereq\db\refhost.xml
In Add later
and find the Oraparam.ini file in the install directory to find
Right-click
With task scheduling, batch files, and Oracle's EXP export capabilities, Oracle backup files can be automatically generated by date, making Oracle data backups much easier. :
1, the Establishment batch processing document backup.bat/.
Exp
Install the oracle9i, and then install Tomcat (5.0/6.0 have tried), with the start of the myeclipse to say "address already" in user.
No language, for fear of conflict with Oracle ports I've changed the ports when I installed Tomcat, like 8081,8082,
--Execute the following statement in the user table that needs to be exported to ensure that the empty table is also allocated segment. Currently using login Plsql, execute the following statement
DECLARE
CURSOR empty_tables is
SELECT
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.