CREATE OR REPLACE PROCEDURE p_pub_getlist (strwhere varchar2,---Query criteria (query criteria without the WHERE keyword) TableName varchar2,---table name Field varchar2,---Field name Curarg outSys_refcursor--return recordset) is V_sqlLong:="';
2015-10-23DirectoryResources[1] Lin Shuze. Oracle 11g R2 dba operation Guide [M]. Beijing: Tsinghua University Press, 2013[2] Oracle archive log[3] Oracle Archive log[4] Oracle archive log[5] See if the Oracle database is archived and Modified
Unlike SQL Server, where the number of Oracle is different, SQL Server can set a value of self-increment.Oracle needs to establish a sequence first and then use Nextval.For example, if you want to generate such a code, 0001,0002,0003 ...First, a 1-n
What does the Oracle database do? Oracle database is the same as other databases, it is to save the data, and can go to query, modify, delete, etc.The difference between Oracle and other data is that its complex mechanisms ensure that the data is
The statistics for Oracle tables are very relevant to his execution plan.Whether the execution plan is normal, is related to the speed of SQL executionLet's start by explaining how to check if a database is turned on for automatic statistical
Transferred from: http://blog.sina.com.cn/s/blog_6bccf0360101hzsh.htmlWhat is the role of 1.spool?Spool's role can be described in a sentence: in Sqlplus to save or print query results.2.spool syntax and usage examples at Oracle 9i, 10g, and
ViewWhat is a view?A view is also known as a virtual table, which is a fictitious table, which is a logical representation of a set of data.The view corresponds to a SELECT statement, and the result set is given a name, which is the name of the view.
Oracle generates tens of thousands of test dataPeople doing database development or management often want to create a large number of test data, there will be tens of thousands of things, if one entry, it will waste a lot of time, this article
The set operator is specifically used to merge the results of multiple SELECT statements, including: Union,union All,intersect,minus. When using the set operation function, ensure that the data type and number of fields in the dataset are the
Oracle trunc function processing date format, oracletrunc
Select to_char (sysdate, 'yyyy-mm-dd hh24: mi: ss') from dual; -- display the current time2011-12-29 16:24:34
Select trunc (sysdate, 'Year') from dual; -- truncated to the year (the first day
Quick Solution to ORA-00959 in IMPQuickly solve the problem that ORA-00959 tablespace does not exist in the ORA-00959 when importing DMP to the Test Library with IMP. General Solution: 1. Create a table first and add the ignore = y parameter when
Sort by calculated column and calculate Column
If you want to sort the calculated columns, you can specify aliases for the calculated columns and then sort them by aliases.
Create a test table:
Create or replace view v ASSELECT 3 AS a, 4 AS B
Solution for oracle adapter connection failure: oracle Adapter
When racle Developer fails to connect, the following error occurs: listener does not currently know of SID given in connect descriptor.
Solution:
In D: \ app \ Administrator \ product \..
Oracle ReportViewer and how to view Oracle ReportsOracle Report Viewer and how to view Oracle Reports today's leaders raised a question, how to view Oracle Report output, how to set the default viewing program as a browser when copying files? I did
How to force oracle select cablingIn most cases, the built-in query optimization policy of the oracle database is still very successful, but occasionally, even if there is an index, full table scanning will be performed, you can refer to the
Oracle storage process, job, view, triggerStored Procedure
Create or replace procedure TestPro (Descerr out varchar2) isbegin select * from test; exception when others then Descerr: = 'interface table data generation failed! '| Sqlerrm; end
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.