*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
Reply to the deleted data by mistake.
1. Execute alter table table_name enable row movement;
2. Execute flashback table table_name to timestamp to_timestamp ('2017-05-24 14:59:36 ', 'yyyy-mm-dd hh24: MI: ss ');
Query historical operation data.
Oracle grouping
Oracle analysis functions are very powerful. We only need to master these methods. A more direct saying is that knowing the functions of these analysis functions can accomplish a lot of work.
The following describes these
Purpose: return the specified data column values of multiple records in a data table at intervals of commas.
Select decode (v_value_type, '01', wm_concat (order_code ),'02', wm_concat (to_char (order_date, 'yyyy-mm-dd ')),'03', wm_concat (TRIM
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
How to Use % Type and % rowtype in Oracle PL/SQL1. Use % TypeIn many cases, PL/SQL variables can be used to store data in database tables. In this case, the variable should have the same type as the table column. For example, if the first_name
Oracle series: ref cursor
In the Oracle series: cursor (see:Http://blog.csdn.net/qfs_v/archive/2008/05/06/2404794.aspx)Think about it: How to pass a cursor as a parameter? To solve this problem, you need to use ref cursor.
1. What is
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
I always thought that the following statement (Execution 1) is an implicit cursor, which is not much slower than the explicit definition cursor (execution 2. For the sake of convenience and simplicity, I usually use the method of executing one to
This solution has a good effect in actual problem handling. It only uses some of the measures in the solution and has improved the performance by several hundred times. In particular, the stored procedure of submitting 1.3 million rows of data into
ASP. NET calls the Oracle Stored Procedure for fast Paging Original post: http://dev.csdn.net/article/82/82808.shtm For more information about accessing the stored procedure of Oracle 9i using ADO. net, see the following section.Article)Http://www.
Yesterday, SQL Server 2005 was used to import data tables directly to Oracle. This feature is also good for sqserver2005, but when I useProgramThe problem arises when connecting to the Oracle database, prompting that the table name cannot be found.
Yesterday I just transferred the database from sqlserver to Oracle, and today when the use of the problem, the insertion of data is no problem, the problem is in the update, the prompt: ORA-01036: Invalid variable name/Number
The answers to this
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
Database links in Oracle can be used for cross-database queries, but problems often occur during use, often failing to test inexplicably. In fact, pay attention to the following issues to avoid many such problems.
1. It is best to set the link to
To_date format
Day:
Dd number 12
Dy abbreviated Fri
Day spelled out Friday
Ddspth 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 the
This storage process is not written by me, but it is very easy to use. It is especially suitable for the cross that shows full screen for the newly imported object.
Create or replace procedure "user". "recompile_schema" isV_type
Which of the following conditions is used for where comparison? :
Equal to: =, , >=, <>
Including: In, not in exists, not exists
Range: between... and, not between... and
Matching Test: Like, not like
Null test: Is null, is not null
Boolean links:
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