First look at SQL:
UpdateCompany_info FSetF. belong_dept=Substr (F. orgid, instr (F. orgid,',',-1,1)+ 1, Length (F. orgid ))
Where:
Instr (F. orgid, '',-) in F. orgid indicates the string to be matched; ',' indicates the matching character;-1
A recycle bin database object is introduced in Oracle 10 Gb database.
The recycle bin, as its name implies, stores deleted items. In principle, it is a data dictionary table that stores information about database objects deleted by users. Objects
In general, we write conn user/pwd @ Sid in the conn command to connect to oacle. If it is in the local machine, we usually write conn user/pwd for access. Without Sid, connect to the default local database instead of the "Default connection". That
Prepare to start learning oracle on May 1So today I planOracle 10gInstall. After the installation is complete, test whether the job works normally.
During installation, the configured global database isTMT.
HoweverSQL plusUsername:Scott, Password:
Create a sequence in Oracle with the name PK:
Create sequence PK
Start with 1
Increment by 1
Max value 2000
Nocycle
Cache 30;
Modify in the ing file:
PK // PK is the sequence name
Oracle reverse engineering refers to importing a database in Oracle, or a database in SQL Server to PD. You need to establish a database link and then perform reverse engineering operations.
Step 1: Create a database link:
Powerdesigner
Oracle 10g
To download Oracle, you also need to register a user name for your convenience.
User: wangdetian168@gmail.com
Pass: qwe123qwe
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
Solution to importing a later version
1. Connect the oracle9 client to the oracle10 Database
2. Use the exp of oracle9 to export Oracle Data
3. Import the data imp exported from oracle9 to the Oracle database to import the data of the later
The built-in Oracle functions sqlcode and sqlerrm are especially used in the others processor to return Oracle errors respectively.
CodeAnd error messages.
Others processor should be the final exception processor in the exception
1. Create a cux userSQL> Conn/As sysdba;Connected.SQL> Create tablespace pai_ntk_cux datafile '/EBS/proddata/pai_st/data/cuxd01.dbf'Size 50 m autoextend on next 1 m;Tablespace created.
SQL> create user cux identified by cux default tablespace
You need to specify the packagesSource codeBackup export:
Sets long 10240000Spool c: \ package. SQLSelect text from all_source where ....Spool off
-- Find the required package name
Select *From all_objects tWhere T. object_type =
After more than half a day, I finally connected succeeded and recorded several problems as follows:Installation environment: Install the Oracle database on Windows, and install the Oracle client and arcsde9.2 on WINXP (which can also be separately
Content imported from:Merge multiple rows and one column of data into one row and one column of data
Http://topic.csdn.net/u/20090714/17/5FE6A0F7-CE78-4936-BE31-21D462236059.html
Merge data in MySQL and Oracle
The like keyword is queried in Oracle. When I use like to perform a fuzzy search, I find that the data volume is incorrect. The table structure is as follows:
-- Create Table Create Table Neoerp (ID Number ( 22 ) Not Null , Productname
-- create a function type Create type strcat_type as object ( cat_string varchar2 (4000), -- set the initialization of a UDF, start a clustering function static function odciaggregateinitialize (cs_ctx in out strcat_type) return number, --
I used it before for data migration. I found it a little strange when I flipped through the SQL statements today, and it was basically easy to use. Oracle10g the test table and fields (Omitted) are created under Scott by default)
Oracle Network ConfigurationThe listener. ora, sqlnet. ora, and tnsnames. ora configuration files are all stored in the $ ORACLE_HOME/Network/Admin directory.1. sqlnet. ora ----- use this file to determine how to find a connection string that
1. First define the standard interface IDBAccess for database operations, and define the basic functions of the interface;
2. dynamically create an interface instance (factory mode) through enumeration Parameters)
3. base class implementation
-- Merge one row of Oracle multi-row data. SQL
-- 1.
Create type NUMBER_LIST_T as table of varchar2 (50 );
-- 2.
Create or replace function CONCAT_LIST (
Lst IN number_list_t, separator varchar2
)
RETURN VARCHAR2 IS
Ret varchar2 (2000 );
BEGIN
FOR j
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