Oracle Database frequently used operation commands recently encountered a server that uses Oracle databases. After learning Oracle +, I finally got all the user passwords on the website background management interface, I found that Oracle operations
How to install Oracle 11g in Windows 7
Not long ago, I uninstalled my Windows Vista system, installed the flagship version of Windows 7, and encountered many problems during the installation process. Some problems were not encountered by myself,
-- Create a permanent tablespace and save permanent informationCreate tablespace bookspaceDatafile 'f: \ changweihua \ bookspace. dbf'Size 50 mAutoextend onNext 5 mMaxsize 100 m
-- Create a temporary tablespace to store temporary dataCreate
After reinstalling the system, we found that. net connection Oracle good, now always report errors, on the Internet on the ORA-00162 of the problem solution one by one try will not help, and my colleague machine with my configuration the same, but
single table operations! ( Code can be replaced manually and written down for memory.) 1. create a table C reate table hkb_table_modify ( name varchar2 (6 ), Age varchar2 (3), sex varchar2 (2) )
2. modify a tableAdd field:ALTER
Order by is used to sort the select results. It is very simple, but let's summarize it.
1. sort by column name. The default value is ascending. Single Column Ascending Order: Select from order by ;Single Column descending order: Select from
From: http://www.cnblogs.com/attraction/archive/2004/06/04/13489.aspx
Stored Procedure return record set: Create or replace package pkg_testAsType myrctype is ref cursor;Procedure get (p_id number, p_rc out myrctype );End pkg_test;/Create or
Generally, when creating an oracle user, we may only create a user name, but do not specify a logon password for the user. Then we will grant this user certain permissions.
When we log on, we will find that when we log on with sysdba, We can log
From: http://meviso.javaeye.com/blog/726448
Javama: Summary
First of all, the information searched by Baidu is junk and examples are replicated to each other. There is no reference value,The most annoying thing is that you need to install the
Database locks are resource-consuming. In particular, when a lock wait occurs, we must find the lock waiting to kill the process if possible.
You can useAlter system kill session 'sid, serial #'OrAlter system disconnect session 'sid, serial #
Oracle is used in the projectInstrThis function, by the way, carefully learns this knowledge again.
In Oracle, you can useInstrThe function determines whether a string contains specified characters.
Its syntax is:Instr (string, substring, position,
1. Create a table named test first.
Create Table Test ( Index Number (9, 0) Not Null , Name Varchar2 ( 128 ), Address Varchar2 ( 128 ), Primary Key (Index) ) Tablespace Temp ;
2. Create sequence test_seq
(1) select the most efficient table name sequence (only valid in the rule-based Optimizer ): The Oracle parser processes the table names in the from clause in the order from right to left. The table written in the from clause (basic table driving
In actual project development, we need to use VB (or other language tools) to call Oracle
Program The returned result set of the stored procedure in the package. Here, a call from the SMS operation platform is used as an example to describe this
I used SQL server for a long time and seldom used oracle. When I was using Oracle at that time, I only called it and did not involve operations such as adding databases, creating tablespaces, and creating users.Follow these steps:1. Open the
Manage undo tablespace
1. Undo tablespace: Used to save the operation process and the data to be operated, and allows the user to cancel the operations performed on the database.
Purpose and role of revocation:
1. Transaction rollback
2.
Two goals:1. Enabling programs to be maintained by humans1) respectively write the program as handler and package it into a package.2) Follow naming rules for objects, links, and programs2. Write the function only once and share the Function1.)
This article is about ORALCE's analysis of the NUMBER type storage method and attempts to explain the designer's initial intention.
I recently read a lot of descriptions about ORACLE data storage, and I don't feel familiar with it. So I have read
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