Today, when you create a view of a table, users are prompted to ORA-01031 user rights, insufficient privileges. You still cannot create a view by using the system user to assign permissions such as DBA.
Create a View
The code is as
1. Use of%typeIn many cases, the PL/SQL variable can be used to store data in a database table. In this case, the variable should have the same type as the table column. For example, the first_name column of the students table is of type VARCHAR2 (20
First, specify the parameter file when the database is started.
In the process of starting a database, you must provide an accurate initialization parameter file, whether it is a text parameter file or a server parameter file. When you start a
Always feel that using Windows to run Oracle is not reliable thing, can this world there are always a lot of people like to do things like this, for the database more common two things: Rman and delete the DG Standby archive log, on the Linux/unix
/*merge into detailed introductionThe merge statement is a new syntax for merging the UPDATE and INSERT statements oracle9i.With the merge statement, another table is queried based on the join criteria of one table or subquery,The connection
There are two authentication methods for Oracle login, one is "operating system authentication" and the other is "Password file Authentication".1, when the operating system certification, in the local use of any user can be SYSDBA login; (default
Paging Query for sqlserver2005SQLSERVER2005 has been using the top keyword to achieve paged query, but inefficient, in the sqlserver2005 and later versions of the use of row_number () parsing function to complete the paging query, the efficiency has
Introduce specific scenariosThere are several issues that need to be migrated from existing Oracle and imported into hive: 1. The existing Oracle database cannot be exported using the entire library, the database server does not have permissions,
Recently, a simple study of the data paging query of oracle,mysql,sqlserver2005 has been made, and the statements of each query are posted for everyone to learn. (a), the MySQL paging query MySQL paging query is the simplest, with the help of
Sql server1. Determine whether the table users existif object_id(N'Users'N'U') is not NULL Print 'exist'Else Print 'does not exist' 2. Determine if the Name column exists in the table usersif exists(Select *
Chartorowid (C1)"Feature" Conversion varchar2 type is ROWID value"Parameter" c1, string, string of length 18, string must conform to ROWID format"Return" returns the ROWID value"Example" Select Chartorowid (' aaaadeaabaaaazsaaa ') from DUAL;
Sql*loader principleSql*loader is a tool provided by Oracle for data loading, which is more suitable for the Business analysis type database (Data Warehouse) and can handle flat files in many formats, and bulk data loading is more efficient than
The decode () function is one of the most powerful functions of Oracle PL/SQL and is currently available only to Oracle Corporation, where SQL implementations of other database vendors do not yet have this function.Tools/Materials
•
I doctor became too big to forget the Oracle SYS user and system user password, and after several attempts to log on to system, the system is locked.After some attempt, finally solved. The process is as follows:First, rebuild the sys password file.
How to connect to Oracle remotely with Plsql on a computer that does not have Oracle installed1. Load Instantclient, mine is WIN7, download is instantclient-basiclite-nt-11.2Unzip to a fixed directory such as C:\instantclient_plsqlCreate a file in
Design of the databaseThe process of software development:Project--Requirements analysis--design, detailed design----implementation---maintenance[including database design]Through demand analysis, we can extract the "entity classes" in the key
Almost forgot. In my last tutorial, I-tell-you-to-save Image/photo into Oracle database. But, there are another problem, how do I read and view it from Oracle database? Don ' t worry, it's very easy-to-do. Just follow these steps and you'll able to
Remove the configuration (if any) of the oracle_home in the system environment variable before installation.If the Web management interface cannot be accessed or the database cannot be connected after installation, it may be normal to uninstall a
Although there are many installation tutorials on the Internet, write a record of the installation process and the solution to the problem.
1 installation package Download:
Go to Oracle's website: https://www.oracle.com/index.html
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