We often encounter such a problem: to create a user in Oracle, when the user is given the permission, there are role permissions and system permissions, in some cases, when a DDL operation is required during the process in the solution, the system
in Oracle, the number type can be used to store 0, positive, and negative fixed points, or floating point numbers. The data range is 1.0*10 (-130) -- 9. 9... 9*10 (125) {38 9 followed by 88 0} when the value of the mathematical expression in
Partition Table maintenance:Add partition:
Alter table sales add partition sales2000_q1
Values less than (to_date ('2017-04-01 ', 'yyyy-MM-DD ')
Tablespace ts_sale2000q1;
If maxvalue partitions exist and cannot be added, you can add
31. How can I modify the editor under sqlplus?
Define _ editor = "" -- you must add double quotation marks to define the new editor. You can also write this in $ ORACLE_HOME/sqlplus/admin/glogin. SQL to make it permanently valid.
32. What are
I have been using Linux Crontab and suddenly want to use Oracle to write a simple job.
Create Table Test (Car_no varchar2 (30 ),Car_info_id number );
Create or replace procedure pro_testAsCarinfo_id number;BeginSelect test_seq.nextval
Update table_test set description = 'explain for tablespace 'Where name = 'yjip'; when you send this statement to Oracle, Oracle will use these tablespaces: 1. if the where condition references the index or other condition, resulting in a sorting
Compare different userobjects in Oracle
During Oracle development, you may often encounter problems with the development environment and formal environment. Generally, keep the development environment to the latest version, but there will be another
The data type (datatype) is an attribute in the column or stored procedure.
Oracle supports three types of data: character data, numeric data, and other data.
Character Data Type
Char char data type stores fixed-length sub-character values. A char
A simple ibatis getting started example, which is tested using Oracle and Java
Directory structure:
1. Import the ibatis and Oracle drivers.
2. Create a person. Java class
Package com. ibeats;Import java. util. date;
Public class person
1. view the data file path:
SQL> Col file_name format A55SQL> set line 120 pagesize 2000SQL> select file_name, tablespace_name from dba_data_files;
File_name tablespace_name-----------------------------------------------------------------------------
The system global zone (SGA) is a memory segment allocated to the database containing an oracle instance.
It mainly includes the database buffer cache, the redo log buffer, the shared pool, and the data dictionary cache) and other information.
Db_
Oracle Advanced Training Course 3rd learn the pages in the notes of the notebook and Oracle9i Database Management Basics II ed 1.1 vol.1.pdf correspondence guide: http://blog.csdn.net/magus_yang/archive/2006/10/10/1328283.aspx Author: jackyang
--------------------------------------------------------------------------------
In large database management systems, Oracle databases are beyond review in terms of database management capabilities and security. Chinese enterprises also use many
Http://www.blogjava.net/bukebushuo/archive/2008/07/05/212794.html
Recently, I have been studying tools for generating java files based on the table structure,
How to obtain various table information and comments when obtaining table fields,This
1. view the table space name and size.
set linesize 140;set pages 200;column tablespace_name format a30;select tablespace_name,min_extents,max_extents,pct_increase,status from dba_tablespaces;select
1. analysis tableAnalyze table mzbs. db_code estimate statistics sample 20 percent;
2. Table space management and user management
-- View tablespaces and data files
Select file_name, tablespace_name, autoextensible from dba_data_files;
-- Data table
111. Is the minimum integer greater than or equal to N returned?
Select Ceil (n) from dual;
112. Is the minimum integer less than or equal to N returned?
Select floor (n) from dual;
113. Return the last day of the current month?
Select last_day
The following methods are mainly used for storing and migrating massive data. The test methods and results are for reference only. Theoretically, attaching data to a local table will produce a large amount of redo data (and a small amount of Undo
Source: Network/Editor: getting started with programming: Unknown
Oracle PLSQL
Create or replace package chapter_13Type RS is ref cursor;Procedure founder (ofields out Rs );End;Create or replace package body chapter_13Procedure
Source: Network/Editor: getting started with programming: Unknown
I do not know how to debug the stored procedure when writing it. One debugging method is to print the value of the variable in the program. in Java, the value is
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