First, what is synonymous Synonyms are aliases of objects that are preceded by an object that simplifies SQL statements, hides the names and owners of objects, and provides public access to objects. There are two types of synonyms, the public
First, error messageA few days ago the website suddenly can't access, and reported the following error:Ora-27101:shared Memory realm does not existOra-01034:oracle Not Available 11gOra-24324:service Handle not initializedCause: Because the database
single-line functionWhole the essence of SQL:Select statement + single-line function (back)String FunctionsThe usual functions for working with strings are as follows :
No.
Name of function
Meaning
1
UPPER (
Oracle A Chinese character occupies several bytes, depending on the character set encoding in OracleView the Oracle server-side character setSelect Userenv (' language ') from dual;If shown below, a Chinese character occupies two bytesSimplified
DG is a backup recovery tool, but more strictly the meaning of it is disaster recoveryData Guard is a collection of one primary database and one or more standby databases, divided into two classes of logical standby and physical standby10.2.1
Day04-oracle Query Basics Learning Goals:? modifying data? Delete data? Simple query? Conditional query? Group queries Oracle modifies dataUse the UPDATE statement to modify the data in the table.Update Statement Basic Syntax: Update table name set
Emmmmmmm This is actually the second half of November 4After the test with a bad mood to greet the afternoon customer simulation (second)This time, it's our dear King boss, yes.Boss Wang wants to find us to do a monster upgrade-based large-scale RPG
Oracle is the first word of Oracle unearthed in Yin ruins, so it is called Oracle in China, founded in 1977 and headquartered in California, USA.After installation, there are two main services that need to be turned on:1, instance service,
Exp/imp is a two command-line tool for Oracle Backup data1. Local database import and export1. Export(Operation---cmd)EXP username/Password @ DB instance name file= Local storage pathEg:exp Jnjp/[email protected] File=c:/jnjp.dmp2. ImportIMP User
I. String part1.CONCAT Connection two strings;Sql> Select Concat (' 010-', ' 7163738 ') from dual;CONCAT (' 010-----------010-7163738 2. Length returns the lengths of the strings;Sql> Select Length (' 12345678 ') from dual;LENGTH (' 12345678 ')------
The literal meaning of First_value () and Last_value () is intuitive, taking the values of the records.Example: Query department The earliest occurrence of sales record date and recent sales record dateSelect dept_id , Sale_date ,
User Profile Password Management1, you can think of the profile as a data object (file, rules)Case:Allow a user to try to log in at most 3 times, such as 3 unsuccessful logins, lock the user, and cannot log on to the system for two days after
----permission settings grant execute on dbms_crypto to username;---------Encryption create or replace function encrypt256 (V_INPUTVARCHAR2) return rawisv_result raw (1999); c_ Key char (+) := ' 1q2wa3es4rz5tx6ycd*uf8tif9ogjen2 '; Beginv_result :
At work today, when the operation deletes all the tables under the Oracle user, a sudden error occurs, and then the problem with Plsql is not linked. Tried a variety of ways, without fruit. The final decision is to restart the Oracle service. I
Stored ProceduresIn Oracle, you can define subroutines in the database, which are called stored Procedures (procedure). It is stored in a data dictionary that can be shared between different users and applications, and can be optimized and reused
The functions previously described in Oracle are string processing, date functions, mathematical functions, conversion functions, and so on, and a class of functions are general functions. Mainly: NVL,NVL2,NULLIF,COALESCE, these functions can be
--translate (string, from_str,to_str)---- if there are characters in string, from_str character set, will be preserved -- If there is a string, from_str, but the number of digits in the to_str is not enough, it will be erased . Select Translate ('123
20171000011201_disable inbound_connect_timeoutset.txt,
20171000011201_disable inbound_connect_timeoutset.txt-- // Read the previous post in the morning, found the link: http://www.itpub.net/thread-2066758-1-1.html-- // Let's take a closer look at it
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