/* Create a table without automatic identification */Create Table Product(PID Number (15) primary key not null,Pname varchar2 (20) not null);Commit;
Insert into product (PID, pname) values (1, 'mydrian ');Commit;
/* Clear table records */
In Oracle, connect by is used to implement tree-like query. In this case, the level pseudo column can be used to implement hierarchical query.The specific usage is as follows:A menu in a table records the levels of menus. The table structure is as
The original dbexport for Oracle was exported to the Excel document format, and many netizens demanded that it be exported to the Word document format. Therefore, the software for exporting it to the Word version was released on the basis of the
PreparationsDownloadHttp://jaist.dl.sourceforge.net/sourceforge/zxjdbc/zxJDBC-2.1.tar.gzHttp://jaist.dl.sourceforge.net/sourceforge/jython/jython_installer-2.2.1.jarDownload the corresponding ojdbc version based on your JDK
Create user hywin identified by hywin; create a user
Password username Change PasswordAlter User Username identified by new passwordDrop User Username [cascade]; if you have already created a table when deleting a user, you need to include the
Database environment: Red Flag Linux DC 4.1 + Oracle 9.2.0.4
PHP environment: Win 2000 Server SP4 + IIS 5 + PhP 5.2
Process: 1. After PHP 5.2 is installed, MySQL is normal and phpBB is normal.
2. Because PHP 5.2 has abandoned php_oracle.dll and
call the stored procedure with returned result set:
/*** Call the stored procedure with returned result set ** @ Param procname * @ Param * @ return * @ throws sqlexception * @ throws nofreeconnectionexception */Public datasource execuceproc
All codes are tested in SQL * Plus of Oracle 9i. Follow these steps to create independent files.
1. Create your own user file (Table owner ).
Prompt -------------------------------------;Prompt this part is to setup Object Creator .;Prompt ----------
Tablespace is the logical unit of Oracle space management. Data Files in tablespace are stored in entities. tables that we are familiar with are stored in these files. Therefore, tablespace can be viewed as a data file group. In terms of management,
OracleAutomatic Database Backup
Automatic Backup of Oracle databases using task plans in Windows
1: Write a database batch file
Oraclebk. bat is as follows:
Echo off
Echo ****************** % date %, data backup plan ****************> explog.
1. =========create text index authorization for mode with document tables
=== Connect to the database as a system user and authorize zyfileup.
Grant "ctxapp" to "jdcdc ";Alter user "jdcdc" default role all;Grant execute on "ctxsys". "ctx_adm" to
Description
1. parameter descriptionCold_back_dir: Cold Backup DirectoryScript_file: the path and name of the batch file generated by this CodeLOG_FILE: path and name of the backup log fileInt_pwd: password of the internal userSave the generated SQL
When installing clusterware, an error is reported. to reinstall it, you must first clear the installed cluserware. Otherwise, the next installation may be affected. Generally, you only need to run the rootdelete. SH and rootdeinstall. Sh scripts
In the past few days, I spent some time sorting out the maintenance and management operations of Oracle listeners, and figured out all the previously blurred points. The document is a bit long and the directory is as follows:
:
1. View concept: A view is a logical structure that does not contain any data. It is a named SELECT statement. The underlying data can be seen through the view, but the view and data are independent of each other. 2. You must have the DBA permission
An error was reported on the site, indicating that the backup data was incomplete due to an error during logical backup. A table with dozens of GB Data volume was exported to less than 1 GB. The error message is as follows:
EXP-00056: Oracle error 1
I. Introduction
The data warehouse technology is a well-known and widely used solution. It is used for all scattered raw business data within the entire Telecom Operating Company and through convenient and effective data access means, users of
Environment
The source end is a RACRac1 rac2: RHEL 4u7 + Oracle 10.2.0.4 + ASMRac1 Internet IP address 192.168.47.241 virtual IP address 192.168.47.243Rac2 Internet IP address 192.168.47.242 virtual IP address 192.168.47.244
The target end is a
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