Using NVL (A, B) General function, statistical employee annual income, NVL () acting on any type, ie (number/varchar2/date)General function: The parameter type can be number or varchar2 or date typeUse NVL2 (A,b,c) General function, if a is not NULL,
The recent deployment project database encountered an error while compiling the package:Package CTG. Ctg_csb_common compilation ErrorError: Pls-00201:identifier ' XMLDOM ' must be declaredLine: 124Text: Function Getvaluebyxpath (Innode in
Actions performed on 9iRecord in query test tableSELECT * from Test;Delete Records in Test tableDelete from test;Get a past sessionexec dbms_flashback.disable;Check out the case of the test table 3 minutes ago.SELECT * FROM Test as of timestamp
The first blog post, hope to write down their experience, to prevent later forget. Today encountered a mistake, that is, using MAVEN to build the project, pom.xml files in the Oracle configuration always error, in Baidu search for a long time did
In peacetime work in the use of these two database more, the use of the two databases there are some of the different places, many interviewers will ask the difference between the two. So, with some experience of their own feelings, to say that
First, the conceptThe primary task of the control file is to manage the state of the database and to describe the physical structure of the databaseSecond, the information contained1. Database name2. Database identifier (DBID)3. Database creation
Mysql determines whether a table exists before it is created and deletes existing tables if one existsDROP TABLE IF EXISTS Sys_area; CREATE TABLE Sys_area (id varchar) NOT NULL COMMENT ' number ', parent_id varchar (+) NOT null COMMENT ' parent
Example code:[SQL]View PlainCopy
CREATE OR REPLACE FUNCTION "My_database"." F_get_user_count_by_depart "
(
Depart_id_val in long
)
return VARCHAR2
Is
User_state varchar (16);
User_count number;
Begin
Select Count (*) into
I. Database table space and data filesParse: A database can open n table space, a table space can contain n data files. The tablespace is a logical concept.Second, about the location of Listener.oraModifying the data on this interface will affect
I. Database table space and data filesParse: A database can open n table space, a table space can contain n data files. The tablespace is a logical concept.Second, about the location of Listener.oraModifying the data on this interface will affect
1
CREATE USER username IDENTIFIED BY password;
--This is the creation user (this is the simplest creation statement without the specified tablespace)
1
GRANT CREATE SESSION TO username;
--This ensures
Today is writing a tool (WinForm) that functions as a bulk insert OR UPDATE to a table in the Oracle database.Execution of the time always error "[911] ora-00911:invalid character" I copy the SQL statements out to PL SQL to execute, and that's
1. Oracle Statement Data Definition language (DDL)1) CREATE table new tables2) ALTER TABLE modification3) Example of TRUNCATE table data:TRUNCATE table Stu;4) DROP TABLE Delete tablesalter usage :1. Add a field to the table:ALTER TABLE Stu add age
--oracle querying the current versionSELECT * from V$version;----------Oracle Query server-side encoding----------SELECT * from v$nls_parameters where parameter= ' nls_characterset ';----------Three ways Oracle queries the current
This is a reference to others and then summarizes the difference between the two, to facilitate their own memory1. First, Oracle database is a large database, powerful, and excellent performance, so large-scale development projects are generally
Oracle leverages the UTL_HTTP package to provide access to HTTP tools.The following code is online search, you can run directly in the Plsql.DeclareReq Utl_http. REQ;Resp Utl_http. RESP;Val varchar2 (32767);BeginReq: = Utl_http. Begin_request ('
--1, select all the information of employees in department 30Select * fromEmpwhereEMPNO= -;--2. The number of the employee who listed the position (MANAGER), nameSelectEMPNO, ename fromEmpwhereJob='MANAGER';--3. Finding employees with bonuses above
Method/Step
Disable Oracle Services : Enter Computer Management, in the service, find all services at the beginning of Oracle, right-click to select Stop
In the Start menu, locate Universal Installer, run Oracle Universal Installer, click
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.