This article is about all the previous functions Article Summary: I. Statistics: Sum () Over ( [ Partition ] [ Order ] ) Sum () Over ( [ Partition ] [ Order ] Rows Between Preceding And Following) Sum () Over ( [
To_date format
Day:Dd number 12Dy abbreviated FriDay spelled out FridayDdspth spelled out, ordinal twelfth
Month:
MM number 03
Mon abbreviated MAR
Month spelled out March
Year:
YY two digits 98
Yyyy four digits 1998
The time range in
Example of Oracle Database Connection, addition, deletion, modification, and query operations Code 1st FloorMyconn = new system. Data. oledb. oledbconnection ("provider = msdaora.1; Data Source = oracle9; user id = test; Password = test ;")2) Define
*This is a bit disgusting, but I didn't take this step well. The problems that come up later are several times more disgusting.
*I am not sure if all of the following RPM packages are required, but it is better to install a few more than one
Recently, an array is used in a process to store a series of values.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 Declare Type ln_mon_plan_value_varray Is Varray ( 20 ) Of
Oracle's solution is to_date () and 24-hour notation and the display of MM minutes:
1. When Oracle's to_date function is used for date conversion, many
Program Like me, the engineer may intuitively convert the format "yyyy-mm-dd hh: mm: SS", but it
ArticleDirectory
1. Preparations
1. Preparations
Assume that if you are using a Linux system, the Oracle user name is Oracle. At the same time, you operate on the Oracle server.
In Windows, click Start, click Run, Enter cmd, and
1. SQL Server 2000 is a method that uses reverse and forward order first.
Select top 3 * from (select Top 9 * From mvc_book order by bid) as s order by S. Bid DESC [Article 6, 5, 4]
Select * from (select top 3 * from (select top 6 * From
1,UseDbms_flashbackRetrieve Data
You must first useDbms_flashbackPackage power, can be inSysLower Pass
Grant execute on dbms_flashback to user;Authorization
SQL> execute dbms_flashback.enable_at_time (date );//Enable snapshot Mode
SQL>In
■ ListenerProgram # LSNRCTL start ---> Start# LSNRCTL Stop ---> stop# LSNRCTL status ---> Status# LSNRCTL help ---> help ■ One routine can only access one database, and one database can be accessed by multiple routines at the same time.A routine
■ Check the tablespace in which Scott uses the data segment to store and how many partitions there are:SQL> select segment_name, tablespace_name, bytes, blocks from user_extents; ■ Query Scott's index information:SQL> select index_name, table_owner,
Create
Or
Replace
Trigger Usertotemp after
Insert
Or
Update
Or
Delete
On T_cs_one
For Each row
Declare
Integrity_error exception;
Errno
Integer ;
Errmsg
Char (
200 );
Tem1
Varchar2 (
10 );
Begin
If Inserting
Then
Thank you for your mission.
ReferencesHttp://wenku.baidu.com/view/39b2e437b90d6c85ec3ac6af.htmlHttp://wenku.baidu.com/view/39b2e437b90d6c85ec3ac6af.html
Local Operation Records
D: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ Server \ bin>
Preparations
1 second = 1000 milliseconds
2. Oracle built-in FunctionDbms_utility.get_timeReference: http://blog.csdn.net/linminqin/article/details/6601897
3 calculation time difference
Create Or Replace Function
How can I execute SQL statements in PLSQL stored procedures?
Use dynamic SQL Execution:Execute immediate
Table Information
Select * FromEmp_temp;
Stored Procedure
Create Or Replace Procedure F_delete_rows (
//Export a table from a specified database to a file #>ExpSs_hr/Ss_hr@10.231.221.30:1521/SshrFull=NTables=(Report_table)File='Report _ table. dump'
// Export multiple tables in the specified database to one file # Exp Ss_hr / Ss_hr@ 10 . 231.2
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