A blob is a binary large object that is written by the English binary Large object, and Clob is written by the big character object, which is the English character Large object.
Where a blob is used to store large amounts of binary data, CLOB is
1. Start time and end time of the week
Start time for the week, starting with Monday.
SELECT TRUNC (Date ' 2016-05-12 ', ' D ') + 1 from DUAL;
End time of the week, ending with Sunday
SELECT TRUNC (Date ' 2016-05-12 ', ' D ') + 7 from DUAL;
Date type, you can modify it in the following way, only to change the year and the day, not change the minutes and seconds
SELECT * from T_bdqc t where Hphm = ' Shaan aw1nw0 '
//Modify for custom time
UPDATE t_bdqc SET gxsj = to_date (To_char (
'
If only the scope partition is considered, and there are no child partitions, Oracle determines that the local index table space follows the following two principles:
1. If the table space is explicitly specified when the local index of the
method One:
Control Panel-> management Tools-> Service-> Oracl ... Database name ...
Method Two:
Run Services.msc Open service, put the inside of the Oracleservice. Just wait for the service to start.
Method Three:
Linux, it's got
1. Export data from the source database:
Syntax:
Exp user1/pwd1@test1 file= ' e:test.dmp ';
Example:
Exp TIANZHI_SMART/TIANZHI_SMART@192.168.56.60:1521/ORCL file= ' E:\tianzhi_smart.dmp ';
Application screenshot:I am stupid, the initial use, do
The large pool is used to allocate large memory to handle the larger memory of the shared pool and is a standby pool to ease Oracle's pressure on shared pool and PGA memory use
The main objects used with large pool are:
Multithreaded Server MTS:
SELECT * from Com_parameter (table name) as of timestamp to_timestamp (' 2015-08-03 9:00:00 ', ' yyyy-mm-dd HH24:MI:SS ')
This SQL statement is the table data that is used to find the point at which a table is in a particular feature. If you
How to connect to an Oracle database from a computer's command prompt (Cmd.exe).
Suppose you have an Oracle database with the following information:
ip:192.168.0.1
Sid:orcl
Port number: 1521
User name: TestUser
Password: 123456
The service
① Make sure you have full control of the folder. Folder Point right--> property-> Security-> Advanced-> owner-> change to own-> edit own permissions for Full control.② changes the compatibility of Setup.exe to Windows Server 2003 (Server Pack 1).
DBA: With full privileges, the system has the highest privileges, and only DBAs can create the database structure.
RESOURCE: Users with RESOURCE permissions can create entities only and cannot create database structures.
Connect: Users who have
Redo (Redo) log features: Data recovery
4.2 Redo Log Features:
1 record database Changes (DML, DDL)
2) for recover of data blocks
3 Manage Redo file in group mode, at least two groups of redo, recycle
4 and data files on different disks, need to
Before Oracle9i, Chinese is sorted according to binary encoding.
In oracle9i, according to pinyin, radical, stroke sorting function. Set Nls_sort value
Schinese_radical_m sorted by radical (first order), stroke (second order)
Schinese_stroke_m
T.money is the left column of the following figure
To_char (Round (T.money, 2), ' 0.00 ') is the right column of the following figure
To take it apart, round (t.money,2) means rounding the T.money "two digits after the decimal point".
Oracle RAC 10.2.0.1 upgrade 10.2.0.5
1. The upgrade package for CRS and RDBMS is a, upgrade CRS first, upgrade the RDBMS, and finally upgrade the library
2, the most authoritative document in, 10205 of the patch, there is a readme.
MySQL Chinese sort has a function such as convert (name using GBK), so I studied the Oracle Chinese sort:Using phonetic sortingSQL>Select*fromorder by Nlssort (name,'nls_ Sort=schinese_pinyin_m'); NAME---------------------------------------- a
Oracle creates a new database, which is a table space that is created to assign a table space to a user.1. Create TABLE Spaces :CREATE TABLESPACE DATAFILE ‘C:\app\oradata\orcl\date.dbf‘ SIZE [K|M] [AUTOEXTEND [OFF|ON]];2. Create a user :CREATE USER
Crontab timed execution of Oracle stored proceduresRequirements DescriptionWe have an Oracle stored procedure that needs to be executed every month, generate a report, and then send it to the business unit, which we have implemented in the system's
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