1. Startup optionsORACLE will find the initialization parameter file in the default location $ORACLE _home/dbs (unix/linux) when starting the database when the startup command is issued. Oracle will look for the appropriate initialization file in
Dedicated server and shared server1. Dedicated ServerWhen I landed, Oracle would always create a new process for me to connect to the Oracle server, so that the configured server was called an Oracle dedicated server, and the resulting server
Today in the use of PL/SQL found in the tables below a lot of bin beginning of the table, I thought is the database operation of the process of the resulting temporary table, I want to delete, but with the right-click drop, found that can not delete.
--Take the date of the first day of the one months before the current date select Last_day (Add_months (Sysdate,-2)) + 1 from dual;--take the date of the last day one months before the current date select Last_day (add _months (Sysdate,-1)) from
The process is as follows:1-Confirm the following installation package, if not installed, find the appropriate package from the CD to install#rpm-qa | grep
You've been testing your server's migration issues, creating table spaces, creating databases, and creating users. Later feel to create so many things too occupy disk space, thought to delete it, so, we executed the DBCA command, will not use the
an administrative user1Querying user CollectionsSelectUsername fromdba_users; A queries whether a user existsSelectUsername fromDba_userswhereUsername='User name'2Querying user PermissionsSelect * fromDba_sys_privswhereGrantee='User name'3Create
/* Formatted on 2013-1-11 13:23:55 (QP5 v5.185.11230.41888) */CREATE OR REPLACE FUNCTION getgiftsname (RID in number)//rid wear parametersRETURN VARCHAR2AsSTR VARCHAR2 (1000); /* The data set returned by */BEGINDECLAREV_medcode VARCHAR2 (100); /*
Linux System installation Oracle Recently learned Oracle Database, the installation problem took a lot of time, online also consulted a lot of documents, at the same time, according to their own experience, summarize The installation steps of
--Go to re-query method one: based on IDSELECT * from Sxe where ID in (the Select min (id) from SXE Group by username) Order by ID ASC;--Go to re-query method two: according to RowNumSELECT * FROM (select S.*,rownum rn from SXE s) x where X.rn in
Six restrictions that can invalidate Oracle IndexesThe goal of Oracle indexes is to avoid full table scans and improve query efficiency, but sometimes it is counterproductive. For example, if a table contains millions of data records and an index is
ORACLE lag () and lead () functions, oraclelag
I. Introduction
The lag and lead functions are two offset-related analysis functions. These two functions can be used to retrieve the data of the first N rows of the same field in a query (lag) and the
Oracle learning notes 6 SQL common functions, oracle learning notes SQLFunction category
Oracle provides a series of functions for executing specific operationsAn SQL function has one or more parameters and returns one value. The following are the
OER 7451 in Load Indicator: Error Code = OSD-04500Problem phenomenon: Today the customer runs a database for half a year remote login always hang, view the database altert log continuously reported the following Error: OER 7451 in Load Indicator:
Plsqldev, sqldeveloper, plsqldev
Plsqldev connection
1. To connect to different servers, modify the tnsnames. ora file as follows:
# Tnsnames. ora Network Configuration File: \ app \ usr \ admin \ orcl \ tnsnames. ora # Generated by Oracle
Common Oracle commandsToday, the database user is locked and checked, saying that the user will be locked if the logon error exceeds 10 times, therefore, with the unlock and password change operations, sqlplus/nolog is aborted without connecting to
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