OracleCondition branch usage
A. If... then
B. If... then... Else
C. If... then... elsif .... Else
Instance1
Question: When writing a process, you can enter an employee name if the employee's salary is lower2000To increase the
Update fpi_warehousingentry t set T. warehousingdate = to_date ('2017-11-29 12:00:00 ', 'yyyy-mm-dd hh24: MI: ss ')
";" Cannot be added at the end of the logon to the database using the command line sqlplus. Otherwise, an error is reported.
For
A couple of days ago New version of nhib1_was released. You can download new version here.
And if you migrate to this version and using Oracle database,You will get this exception
Cocould not load type nhib.pdf. dialect. oracledialect. Possible
Oo4o is a com-based component of native Oracle access provided by Oracle for Windows. It is directly based on the Local OCI and is a set of model objects similar to ADO accessing the Oracle database.
Oraserverclass: represents the physical
After all, ADO is a common database access model, which is not efficient. It does not support or support many features of oracle.
Oracle introduces the oo4o access model. Its concept and usage are similar to those of ADO! However, the functions and
Log_archive_format isCannot alter SystemNon-Basic initialization parameters of, define the archive files of the database in archivelog ModeNaming rules.
AndAppendIt is very interesting to find a valid archive path! If the archive path is invalid,
Same windows version
The same Windows login user and password (because Oracle uses Management Sharing to install remote node content)
Physical memory> 512 MB; Virtual Memory> 512 MB. For Oracle, essentially interactive space (physical memory +
This article from: http://www.cnblogs.com/huyong/archive/2011/06/15/2080497.html
OracleThe common problem is that I have collected the data and shared it here. I will make a reference for myself in the future, and I will help my friends in
20101222 update:1. encrypt the configuration file
20101210 update:1. Modify known bugs2. Added logs for deleting expired backup files.3. added. If the backup failed today, the expired backup will not be deleted.
20101203 update:1. compress
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
--
Create a stored procedure
Create
Or
Replace
Procedure
Xxxxxxxxxxx_p(
--
The in parameter indicates the input
Syntax:
With Tempname
As (
Select ....)
Select ...
For example, we want to get 11-14 from 1-19. The general SQL statement is as follows:
Select
*
From
(
--
Simulate the generation of 20 rows of data
Select
Level
First PasteCode, You have time to sort it out.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Select
W_name,
Max
(Decode (UT. attdate, to_date (
'
2010-12-01
'
,
'
Yyyy-mm-dd
'
Solution 1
After the stored procedure is executed, dataset is returned:
1. There must be an output parameter cursor in the stored procedure to return the Stored Procedure
-- Create a temporary table returned by the Stored Procedure
In Oracle, sequence is the sequence number, which is automatically increased each time it is obtained. Sequence has no relationship with the table.
1. Create Sequence First, you must have the create sequence or create any sequence permission.
The
Answer?
In addition to automatically adding carriage return and line breaks, there is also a problem with the maximum Buffer Capacity !!
No matter how you set serveroutput size, 10 GB
Put () can output a maximum of 32767 bytes
While
The
Create Database TestControlfile ReuseDatafile 'd: \ data \ system1.dbf' size 100 m autoextend on next 100 m maxsize UnlimitedSysaux datafile 'd: \ data \ sysaux1.dbf 'size 100 m reuse autoextend on next 100 m maxsize UnlimitedDefault temporary
1. Connect to the database
OS: only enters the sqlplus environment and does not connect to the database
Sqlplus/nolog
OS: Local Connection
Method 1: Operating system authentication Logon: The Role After logon cannot be omitted.
Set
ArticleDirectory
2. Usage of case when in different positions in the statement
1. The case when expression has two forms:
-- Simple case Functions Case Sex When ' 1 ' Then ' Male ' When ' 2 ' Then '
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.