Original article:Http://www.eygle.com/archives/2007/02/oracle_ace_china.html
On Wednesday evening, Jack Han from Oracle Guangzhou came to Beijing, where everyone had a small party at the carving time Lido store.
The event was attended by
Control Panel-> Add hardware, select "Yes, connected to this hardware" in the Wizard → add new hardware devices → install me manually list select hardware (advanced) → network adapter → vendor: Microsoft NIC: Microsoft loopback Adapter. After the
WebService cannot connect to Oracle
2008-7-9Cheungmine
1 problem Source: I cannot connect to Oracle10g in WebService
2 solution:9i: added the User Authenticated Users (read and run permissions) to the ORACLE_HOME directory)Or10g: add the User
Create or replace procedure proc_drop_table (t_name in varchar2) is c_type varchar2 (20); t_count int; v_count int; I _count int; s_count int; begin begin select object_type into c_type from all_objects where object_name = upper (t_name); Exception
---- 1. having clause usage ---- having clause controls the row groups determined by the group by clause. The having clause conditions only allow constants, clustering functions, or columns in the group by clause.-
--- 2. external join "+" usage --
1. Enable autotrace
1.1 run utlxplan. SQL as a sys user
Sqlplus/As sysdba
SQL> @ $ ORACLE_HOME/rdbms/admin/utlxplan. SQL
1.2 execute the plustrce. SQL script to create the plustrace role
SQL> @ $ ORACLE_HOME/sqlplus/admin/plustrce. SQL
1.
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
Double quotation marks on column aliases
Enter and execute the query: SQL code
Select ename as "name", Sal * 12 + 5000 as "annual salary (plus year-end bonus)" from EMP;
[SQL]
View plain
Copy
Print
?
Select ename as "name", Sal * 12 + 5000 as "
For and while loops in Oracle
Conditional loops can be implemented in two ways.
1. For variable in start value... end value loop end loop;
2. While condition loop end loop;
Loop usage:
The exit when statement can appear anywhere in the loop code;
1: >=replace>2: Use less *3: Try not to use having4: Reduce table queries in statements containing subqueriesSelect tab_name from tables where (tab_name, db_ver) = (selectTab_name, db_ver from tab_columns where version = 604)5. Use Oracle functions
Oracle Database deletion under windwos:
1: run the universal installer command to uninstall oracle first.
2: Go to the Oracle installation directory and delete it like deleting a common file. You can't delete it. You can use 360 to delete the file
1:Dba_tables displays information about all tables in the database.All index information of the dba_indexs DatabaseDba_tab_columns displays the column information of the database table.Dba_ind_columns displays the index column informationDba_objects
Oracle ERP standard address string method
1. Set ou1. from the menu edit-> preferences-> profiles, you can use MO: operating unit to query ou (assuming the value is vision operations) 2. you can use the following SQL statement to query the
// If the current user is root, use the sysdba role to connect to the Oracle instance.
# Su Oracle# Sqlplus/nolog# Conn/As sysdba
// Basic operation after connection
SQL> select username from dba_users; // view all user namesSQL> select table_
The case expression can implement the if-then-else logic in SQL without using PL/SQL. The case method is similar to decode (), but case should be used because it is ANSI compatible.
Case has two expressions:
1. Use a simple case expression to
Background:
Myeclipse character encoding GBK
Oracle Database character encoding GBK
The character encoding UTF-8 that inserts content from a third party using the WebService Interface
Problem description:
Pre-compiled by Java
The bulk collect usage of the Oracle database-related knowledge of batch addition, deletion, modification, is the content we will mainly introduce in this article, a key improvement of the forall statement, which can greatly simplify the code, and
I have always hoped that the Oracle client will not be installed on the client. No matter whether I use Java, Delphi, and C ++, when I know that Oracle10g has released the Instant Client lightweight client, I will start searching for relevant
The most common varcher2 type in Oracle can store a maximum of 4000 bytes of content. Generally, this type can meet your needs. However, in some special cases (for example, if the image or content to be stored exceeds 4000 bytes), varcher2 cannot
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