Today, while writing the stored procedure, I found a very strange problem, stored in the process of a simple select dynamic SQL statement. After writing, execute this stored procedure, always prompt ora-00942:table or view does not exist (ERROR-942
Create materialized view [view_name]Refresh [Fast|complete|force][On [Commit|demand] |Start with (start_time) next (next_time)]As{Create a query statement for materialized views}
These are the common syntax for Oracle to create materialized views (
Original: http://space.itpub.net/24778843/viewspace-693743
Brief introduction:
This article provides a comprehensive overview of the relevant concepts of the Oracle execution plan, access to data, connectivity between tables, and more.
and a summary
The Racle database can be run in 2 modes: Archive mode (Archivelog) and non-archive mode (Noarchivelog)Archiving mode can improve the recoverability of Oracle databases, the production database should run in this mode, the archive mode should be
This article originates from TTT BLOG, original address: http://blog.chinaunix.net/u3/107265/showart_2192657.html Brief Introduction: This article comprehensively introduces the related concepts of Oracle execution plan, accessing data access
Assuming that the data user USER1 uses the default tablespace TS1, the user USER2 uses the default table space TS2, and now imports USER1 data into USER2, which requires tablespace TS2.
It is not possible to specify tablespace through imp command
Directory1 database modified to Automatic archive mode2 Modifying Rman parameters3 Rman Automatic backup script4 Set up system automatic backup parameters5 Rman RestoreRestore the entire databaseRecover a single table space1 database modified to
/* First, to use the flash-back query, the database must be open automatic undo management, must have the undo table space, you must set the rollback segment retention/--in sqlplus to see if the Undo_management parameter value is auto,
If it is
Often encountered sqlplus display garbled problems, character sets and related definitions are explained but very few can put these relations are very simple to understand.
Before that we need to figure out three concepts, operating system character
First, the causes of this error and related factors
is due to "password_life_time=180 Day" set in default profile in oracle11g, which in Oracle 11g isThere is a password expiration problem.
Second, the error phenomenon:
When the user is locked out,
data is extracted to a temporary table (stored procedure test (NUM) performs this operation), writes data to TXT file in the table, and finally packages txt zip
I used to work with code, and everything I did was about using code, so I wrote the code
A little familiarity with Oracle knows that if we want an SQL statement to insert multiple values into a table, if insert into a table values (each value), values (values),.....; This can be an error because Oracle does not support this notation if
1 Right-click the "Computer"--> manage--> Services and application--> services and deactivate all Oracle-related services (preceded by Oracle, such as ORACLEDBCONSOLEORCL).
2 start--> All Programs-->oracle-->oracle Install products-->universal
First look at my own experimental environment is in what kind of archiving mode:
Sql> Select T.log_mode from V$database t; Log_mode------------Noarchivelog
Two. After determining that it is in the non-archive mode, I first create a regular table
1.Oracle Default UserAccess to Oracle database only with a legitimate user accountOracle has several default database usersAll data dictionary tables and views in the database are stored in the SYS pattern. SYS users are primarily used to maintain
DDL (data definition Language), which is used to create/modify/delete various objects of a database, such as tables, views, indexes, synonyms, sequences, and so on. DDL statements mainly include CREATE creation, ALTER modification, TRUNCATE
1. TRANSLATE syntax: TRANSLATE (Char, from, tousage: Returns a string that replaces each character that appears in the From, with the corresponding character in to. If the from is longer than the to string, then the characters that are
If you want to see the presence of a user in an Oracle system Dba_users viewIf you use Sqlplus queries you need to format them in advanceSql> col username for A20Sql> Col Account_status for A20Sql> Col default_tablespace fora20Sql> Set Linesize
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