The difference between Pfile and SPFilePrior to Pfile:oracle 9i, Oracle has been using Pfile to store initialization parameters, which are text files that can be modified at the operating system level. You can use Pfile file to start a database when
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
Problem:When installing 11.2.0.4 on Redhat 7:Error in invoking target ' agent NMHS ' of makefile '/u01/app/oracle/product/11.2.0.4/sysman/lib/ins_emagent.mk '.Workaround:In $ORACLE _home/sysman/lib/ins_emagent.mksearch for the line: $
This post was last edited by Tsengyia on 2012-2-22 17:06Solve the problem of Chinese garbled when installing Oracle under LinuxOperating system: Red Hat Enterprise Linux 6.1Databases: Oracle Database 11g R2Method One: Evade the law, use English
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
---restore content starts---People want to see what data tables in the database, which fields have "HelloWorld" the string, now the database all the tables, views are not directly available, all must go through the loop to access all the data table,
1. Sub-query to solve the problem: not one-step solution2. Issues of attention2.1 Brackets2.2 A reasonable writing style2.3 can be used in the where select have from2.4 You cannot use subqueries after GROUP by2.5 Emphasize the word query from the
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
Sometimes the data is dead, or no listening, do not have to restart the machine, restart the database service line, the following is the Linux boot step, did not execute under win, may also be!Taking Oracle9i as an example(1) Log in to the database
today, we mainly strengthen the learning of some related functions of the data type of Oracle database .(i) char and varchar2 String functionsconcat (CHAR1,CHAR2) string connection function for connecting two strings.--equivalent operation:
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
When importing data today, the database throws an exceptionBaidu a bit, the most common reason to operate at the same time, someone truncate TABLE, and then in the Select table caused.Put the error in the group, immediately someone came out to
Oracle's paging query statements can be applied basically in the format given in this article.Paged Query format:View CodeSELECT A.* from( The most internal query, select * FROM table_name, represents the original query statement without paging.
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
The beginning of the study, I am a bit stupid, originally wanted to use Oracle VBox, installed a red hat+oracle, but the virtual machine has been error, 0x00000000 memory can not written. So think of other ways, just contact Golang, and then know
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