Create a table/sequence/comment/primary key in oracle

DECLARE iCount number (2): = 0; begin select count (*) INTO iCount FROM user_sequences u WHERE u. sequence_name = 'seq _ TCAPITALNOTIFY '; www.2cto.com IF iCount = 0 THEN/* create sequence */execute immediate 'create sequence SEQ_TCAPITALNOTIFY

Oracle 10g service start/stop script

The following 10g Oracle service start/stop scripts are the two most commonly used scripts every day, namely, oracle 10g services start/stop, the script content is not original (obtained from caiyun at the earliest), and the original address cannot

Processing process where a service cannot be started normally

Processing Process 1 when a service cannot be started normally. The service cannot be started normally and the database status is abnormal.[Grid @ dtydb4 ~] $ Srvctl start service-d epmdb-s srv_epm1-I epmdb1PRCR-1013: Failed to start resource ora.

Commands for adding log groups and log members in oracle

Commands for adding log groups and log members in oracle 1. Adding a log group: alter database add logfile group 4'/oradata/oracle/oradata/oracle_sid/redo04.log 'size 100 M; 2. Change the log group size (First, check the archiving status: SQL>

T-SQL use case -- auto-fill 0 before result data

Symptom:In the development process, numbers and strings are often required to convert each other. In the conversion process, you may need to program 1 to 00001. There are many ways to achieve this. This article mainly provides a user-defined

Oracle case when usage

Oracle case when usage 1. the case when expression has two forms: Simple Case function CASE sex WHEN '1' then' male 'when' 2' then' female 'else' others' END -- Case search function CASEWHEN sex = '1' then' male 'when sex = '2' then' female 'else'

Oracle Data Recovery: kcbz_check_objd_typ_3 error handling

Oracle Data Recovery: kcbz_check_objd_typ_3 error processing after a data recovery, encountered a ORA-00600 kcbz_check_objd_typ_3 error, record here. First, the error kcbz_check_objd_typ_3 indicates:When Oracle checks the data block in the memory,

Storage Structure-redo log files

Redo log files of storage structure can be divided into online redo log files and archived redo log files. It is the transaction log of a database. The purpose is to restore committed transactions when a failure occurs. Almost every operation you

Questions about updating field values with a cursor in Oracle

The following table lists the questions about updating field values with cursors in Oracle: [csharp] SQL> set pagesize 60; SQL> run; 1 * select * from employee www.2cto.com name salary ---------- SMITH 800 ALLEN 1600 WARD 1250 JONES 2975 MARTIN 1250

Oracle wallet usage and maintenance --- oracle password-less Login

Oracle wallet usage and maintenance-oracle logon to oracle wallet with no password starts from Oracle10gR2. Using Oracle Wallet allows any user to log on to the database without a password (non-operating system authentication ), this is very useful

Multiple methods for querying the maximum time record by group

Multiple methods for querying the maximum time record in a group: [SQL] create table dispatch_result (dr_id number not null, sheet_id number, check_next varchar (20), check_time date, check_sn char (8), check_comment varchar (255), check_status

Common functions of Oralce SQL language (3) date functions

Common functions in Oralce SQL language (3) DATE functions operate data of the DATE type. Most of its input parameters are of the DATE type, and the output parameters are also of the DATE type 1. SYSDATE function. This function does not require any

ORA-600 (qersqCloseRem-2) Error

ORA-600 (qersqCloseRem-2) error the customer's 10.2.0.4 RAC for Hp-un Environment encountered this error. Error message: Wed Feb 29 19:42:05 2012 Errors in file/opt/app/oracle/admin/orcl/udump/orcl1_ora_11261.trc: ORA-00600: internal error code,

Decode () function instructions in oracle

Description of the Decode () function in oracle: DECODE (condition, value 1, translation value 1, value 2, translation value 2 ,... value n, translation value n, default value) the meaning of this function is as follows: IF condition = value 1 then

New Features of Oracle 12c: Paging Query

The new feature of Oracle 12c paging query is expected in the upcoming oracle 12c release. This is the optimization of paging query. There are many paging query functions in the application. Previously we used rownum for this purpose.For example, to

Oracle job details

Oracle job description 1. set the initialization parameter job_queue_processes SQL> alter system set job_queue_processes = n; (n> 0) job_queue_processes. The maximum value is 1000. view the SQL> select name of the job queue background process,

Summary of oracle simple learning (5)-Data Operations (add, delete, modify, and so on)

Oracle simple learning Summary (5) -- Data Operations (add, delete, modify, and delete) Link: oracle simple learning Summary (1) -- sqlhttp: // www.bkjia.com/database/210210/159545.html#oraclesimple learning Summary (2) -- Query Summary (3) --

Oracle queries statistics by day, week, month, quarter, or year

Oracle query statistics by day, week, month, quarter, and year // select count (dataid) as daily operation count by day, sum () fromwheregroup by trunc (createtime, 'dd') // select to_char (date, 'iw'), sum () from where group by to_char (date, 'iw')

Solution and steps for oracle listening failure

Solution and steps for oracle listening failure I described the failure to start Oracle listening is a solution that can be started normally after the installation is complete, because the network ip address is changed or the computer name cannot be

Solution after the dbf File of Oracle is deleted by mistake

Solution after the dbf File of Oracle is deleted by mistake: www.2cto.com deletes the dbf file of the Oracle database by mistake. An error is prompted when the database is started or shut down. Startup prompts when starting the database: ORA-01157:

Total Pages: 2147 1 .... 785 786 787 788 789 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.