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
1. Execute sp_addmediaserver in the query Analyzer
Use master
Go
Exec sp_addmediaserver
@ Server = 'ralph. lanstart', -- Name of the Oracle linked server
@ Srvproduct = 'oracle ', -- fixed
@ Provider = ''msdaora '', -- fixed
@
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
Database Name
Is the name of the database, such as myoracle, which is generally only applicable to standalone machines; Global Database Name
Is the name of the database in a network. For example, if the domain of the Database Host Machine is
I have made performance optimization over the past few days and found some information online.
Sometimes you need to export all the table, view, sequence, trigger and other information of a user. The following SQL statement can select the
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
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
Author: skateTime: 2010/09/07
Resetlogs mechanism of Oracle
I think everyone is familiar with the alter database open resetlogs command. Have you ever wondered why this resetlogs option should be used? When will it be used?What is its mechanism?
IMP ORA-12899 error importing data to Oracle
View Character Set: Select * From nls_database_parameters
Large | medium | small [2009/05/26 | by askwan] error message: imp-00019: Row rejected due to Oracle error 12899
Imp-00003: Oracle error 12899
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
Program Header
Create or replace package pck_pager is type t_curor is ref cursor; Procedure getrecordbypage (p_tablename in varchar2, -- table name p_strwhere in out varchar2, -- Query condition p_ordercolumn in varchar2, -- Sort columns (such as id
Flexible applicationRownum virtual Column
Rownum is not a physical column actually exists in the table, but a virtual column that can be used in any SQL statement. If you can correctly understand the concept and features of rownum, you can apply it
Previously, we discussed the types of data read operations in the database, and focused on the data read methods that are useful for data read operations in local range scanning, it also discusses the impact of the database optimizer mode on
Summary of Oracle distributed transactions ()
Basic Concepts
Local Coordinator: in distributed transactions, you must refer to the data on other nodes to complete this part of the site.
Global Coordinator: The initiator of the distributed
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.