1. select * from s_hrdata2. create Sequence: create sequence s_hrdata_SEQUENCE start with 1 increment by 13. CREATE Trigger: create or replace trigger s_hrdata_trgger before insert or update of id on s_hrdata for each row begin select
(1) select host. id from itr_host_v host left join itr_ci_ref r on host. id = r. to_ci and r. from_template_id = '000000'; (2) select host. id from itr_host_v host, itr_ci_ref r where host. id = r. to_ci (+) and r. from_template_id (+) = '000000'; (3
The following data id name1 a12 a23 a31 b13 b31 c1 is used to merge different rows with the same id. The result is id name1 a1/b1/c12 a23 a3/b3: for more than 8 I: SQL code -- for www.2cto.com after 8 ISELECT t. id, MAX (substr (sys_connect_by_path (
The solution for Oracle TNSListener to automatically stop when it is started has been normal. Today, we suddenly find that the TNSListener service cannot be started. After starting it on the service console, refresh it, it automatically returns to
For LIKE fuzzy search, you can use the wildcard "%" and "_": %: to indicate any character, including zero; _: to indicate any character; SQL code Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as scott SQL> select *
Some tips of plsql developer 1. After logon, My Objects is automatically selected by default. By default, after PLSQL Developer logs on, All objects will be selected in Brower. If the user you log on to is dba, to expand the tables directory, it
1. Set the value of the NLS_SORT parameter SCHINESE_RADICAL_M to sort SCHINESE_STROKE_M By the beginning (First Order), strokes (Second Order), and heads (Second Order) sort SCHINESE_PINYIN_M by pinyin: www.2cto.com 2. set the Session level. Modify
1, first go to the Oracle site to download Instant Client: http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.htmlDownload a compressed file from different Instant Client versions based on your operating system. The
Solution: create table t_20120512_a (id varchar2 (6) primary key, cost number (3), www.2cto.com p2 number (3), p3 number (3 )) /create table t_20120512_ B (id varchar2 (6) primary key, name varchar2 (50), B varchar2 (100)/insert into t_20120512_a
Oracle Date and Time Range Query SQL code/* Date and Time Range Query */---------- create Date and Time Test table ‑ www.2cto.com create table testdatetime (ID integer not null primary KEY, createdate CHAR (10) NULL, startdate date null, enddate
For example, if you want to query records with identical names, ID card numbers, and addresses in a personnel table (table name: peosons), select p1. * from persons p1, persons p2 where p1.id <> p2.id and p1.cardid = p2.cardid and p1.pname =
The Oracle-distinct usage distinct keyword is used to filter out redundant duplicate records and retain only one record, but it is often used to return the number of records that are not repeated, instead of using it to return all non-record values.
In Oracle, how does one understand that "Role authorization" requires users to log on again? We often hear that in Oracle, users must log on again to obtain the permissions granted when the role is granted user permissions,How can this sentence be
Solve the Problem of ora-12154 recently the project uses oralce 10g as the database, haven't touched for a long time, but vaguely remember that there is such a tool pl/SQL can be very convenient to operate the database. After pl/SQL is installed on
Analysis of small table cache to memory the db_buffer_pool of oracle consists of three parts:Buffer_pool_defualtbuffer_pool_keepbuffer_pool_recycleIf you want to pin the table to the memory, that is, pin the table to the keep area. -- If the table
Oracle Installation Often see problem error A: ORA-24324: uninitialized effect handle ORA-24323: do not permit this value ORA-28547: Connector effect failed, perhaps Oracle Net Control Error and then "Ignore" and "interrupt" two buttons, points
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