(1) View character set (three are equivalent)Copy CodeThe code is as follows:SELECT * from v$nls_parameters where parameter= ' Nls_characterset 'SELECT * from nls_database_parameters where parameter= ' Nls_characterset 'SELECT * from props$ where
First, Analog truncate operation:Sql> Conn Scott/tigerSql> Select COUNT (*) from T;COUNT (*)----------13sql> truncate TABLE t;Second, restore the data of the TRUNCATE TABLE1. Download the HELLODBA Recovery tool to the database serverUse the terminal
Original: Introduction to the use of dual tables in Oracle[Introduction]dual is a virtual table that makes up the syntax rules for SELECT, and Oracle guarantees that there is always only one record in dual. We can use it to do a lot of things.Dual
Oracle minus KeywordsThe minus keyword in sqlThere is a minus keyword in SQL that uses two SQL statements to find out the results of the first SQL statement, and then see if the results are in the results of the second SQL statement. If so, the
At work: After adding a field to a table, add a new field at the end, you want to adjust the position of the new field.1, the original method:--Create a new temporary table to store the correct orderCreate TableA_2 as Select(Column1,colum2,......
deep understanding of latch in Oracle Serialization OverviewSerialization-the database system itself is a multi-user concurrency processing system, at the same point in time, there may be multiple users simultaneously operating the database,
As below, create a new two stored procedure:In the master autonomy transaction, we insert a record, then in the autonomous transaction, we look at the number of rows in the table, then try to insert three records, view the number of rows, finally
Reference URL:http://blog.csdn.net/a82168506/article/details/11763989The steps are as follows:Download the installation package. (I downloaded the 11.1 version)Http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.htmlDownload the
Import Library:Prepare beforehand:1. Ensure that Oracle is installed correctly on the Linux server2, Oracle client, capable of connecting to Oracle on server.Start Step:1, CREATE table space (table space is more common will give you a script to
Startup Nomount# #启动实例, start the first step, Oracle first look for the parameter file, and then according to the settings in the parameter file (memory allocation settings), create an instance, allocate memory, start a background process, nomount
Colleagues in the test library on a table plus fields, prompting ORA-00054, resource busy. The lock on the Table object should not be released.For a description of the Oracle lock, refer to:Oracle lock
First, the conceptThe data dictionary is the most important part of the Oracle database, and it provides some system information about the database.The dynamic performance View records information about the startup of the routine.Second, the data
1,oracle Default user name, passwordUsername/Password Login identity (role) descriptionSys/change_on_install SYSDBA, Sysoper cannot log in as NORMALSystem/manager NORMAL cannot log in with SYSDBA, SysoperScott/tiger Normal Normal User2, user sys and
Actual project practice process, often encounter some form "ora-xxxx" Oracle error prompt, at this time, we will open Baidu, Google, search related technology solutions. The purpose of this blog series is to summarize and refine common Oracle error
Today submitted to the client side a SQL script to go with the new historical data, the result of the client side of the deployment personnel made a mistake, directly take the system account to deploy, the result of the first code did not succeed,
In the MySQL database, you want to implement a self-increment function of the data (that is, when inserting this data, fill in null, System automatic + 1), you can use the statement auto-increment directly in the column.int Primary Key
1:root User execution: Df-k/tmpFree space is greater than 400M can2:cat/etc/issue command to view Linux versions3:uname-r command to view the kernel4: Check the relevant packagesThe command is: RPM-Q related package5: Build two
1.8. Database Design ParadigmThe database design paradigm is actually very important, but from the actual development point of view, if it is really all in accordance with the paradigm, then this program can not be written, including query
Creating a Create script for an existing job in an Oracle database --generate a Create script for an existing job Create or Replace procedureProc_generate_job_create_sql is beginDbms_output. ENABLE (Buffer_size= NULL);--indicates that the output
1.%type DECLARE dname DEPT. Dname%-- dynamically defines the type of variable that changes with the type of Dname field in the Dept Table . BEGIN SELECTinto fromWHERE DEPTNO=; Dbms_output. Put_Line (dname); END
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