Oracle database Development Face Questions

Recently participated in a number of interviews, summed up the competition in the Oracle development post most frequently asked what questions:1, delete and truncate difference? 1) Truncate is a DDL statement. Delete is a DML statement;2) Truncate

Oracle database Development Face Questions

Recently participated in several interviews. Summarize the most frequently asked questions about the competition for Oracle development positions:1, delete and truncate difference? 1) Truncate is a DDL statement, and delete is a DML statement;2)

MAVEN project deployment handling of Oracle JAR packages

1, under normal circumstances, we are not access to Ojdbc.jar, need to establish a local warehouse.2, first find your own Oracle Ojdbc.jar put it into the C:\Users\Administrator directory, and then execute the following codeMVN

Oracle Hardening Exercises

Write a simple query statement1. Display all the information of the Department tableSelect * FROM Dept;2. Show department number, department nameSelectdeptno,dname from Dept;3. Displays the connection for the following fields and strings: Employee

Oracle Dynamic Display Log

1. View the log file location.[email protected]>select inst_id,name,value from V$diag_info;inst_id NAME VALUE---------- -------------------- --------------------------------------------------1 Diag Enabled TRUE1 ADR base/u01/app/oracle1 ADR Home/u01/

Views of the Oracle database

Advantages of using Views:1. Simplify data manipulation: Views Simplify how users work with data.2. Focus on specific data: unnecessary data or sensitive data can not be present in the view.3. The view provides a simple and effective security

Note: Oracle queries duplicate data and delete, keeping only one record

1, look for redundant records in the table, duplicate records are based on a single field (ID) to determineSELECT * FROM table where Id in (select ID from table group Byid have count (Id) > 1)2, delete redundant records in the table, duplicate

Oracle Database Maintenance Operations 4

--Add, modify, and delete constraints--1. Add Constraint ALTER TABLE tableAdd[constraint constraint]Constraint_type (column1[, Column2,...])[constraint_parameters];Alter TableBooks Modify Title not NULL;--add a non-null constraint--2. Modifying

ORACLE Rollup functions

Rollup Function Application Scenario:  The main use in the grouping, each group to the total value (that is, subtotal), and finally all values (minus subtotals) sum (is total)Of course, the same effect can be achieved with union. Identify the groups

Oracle Off-Boot weird error

In the Oracle database environment of their own virtual machine, when tossing and making experiments, do not know what special changes, operations caused from the Sql*plus to start the database instance, reported the following error:Then use startup

Oracle Create user and backup restore database operations

--Create the user create user XX identified by "", default tablespace USERS temporary tablespace TEMP profile default Password expire;--grant/revoke role privileges Grant connect to Xx;grant Ctxapp to Xx;grant dba to Xx;grant exp_full_database to xx;

Oracle 12CR2 installation on CentOS-7

gpg

Installing Oracle-database-server-12cr2-preinstallwget http://public-yum.oracle.com/public-yum-ol7.repo-o/etc/yum.repos.d/ Public-yum-ol7.repowget http://public-yum.oracle.com/rpm-gpg-key-oracle-ol7-o/etc/ Pki/rpm-gpg/rpm-gpg-key-oracleYum Clean

Oracle Data Pump EXPDP/IMPDP

The new feature after oracle11g makes it possible to omit empty tables when allocating table spaces by default, to reduce the resource usage of tablespaces, so that empty tables are ignored when exporting user data using the EXP export of Oracle,

SQL statements in Oracle and Java

When debugging code encountered such a problem, the program run to the SQL statement to throw invalid character exception, then I had to copy the SQL statement, in Oracle to execute, but there is nothing wrong, this can be difficult for me, so I can

Oracle Data Start-up

Open instance, database to Nomount state:Startup Nomount;Parameter fileMemory, ProcessSpecifying control filesThe database opens to the Mount State:Alter Datatbase Mount;Control filesWhat data files are included, what log filesBackup-related

Oracle Flashback Detailed

Oracle Flashback is a fast and easy database recovery technology, it does not use backup files, through the flashback log can restore the database to a state of the past, when the user logic error (delete table data, table, table space, etc.) need

Oracle Common Script Collation

The amount of space (table capacity) of statistical tables/* Generally, the table occupies three parts: Table data, table index, table blob field data */--1 Statistics the space occupied by a single table with (BLOB field)SELECT table_name, SUM

How does Oracle's SQL statement work?

How does Oracle work? Select ID , name from the T order by ID; –sql parsing (see if the syntax is incorrect, if there are no errors, parse the semantics, execute permissions on this statement)– Execution Plan (howORACLE accesses data

. NET prevents SQL injection parameterization in the Oracle database for in-condition queries

return in conditional processing methodpublic static string InsertParameters (ref list orclparameters, int[] lsids, String uniqueparname ){String Strparametros = String. Empty;for (int i = 0; I {Strparametros + = i = = 0? ":" + uniqueparname + I: ",:

Oracle Dataguard's Nologing

Management SectionIf database force logging is not enabled, the repository/*+ append */operation, nologging operation, will report the bad block;Suggested table space Force logging or database force logging;Test:Select Force_logging, tablespace_name

Total Pages: 2147 1 .... 1590 1591 1592 1593 1594 .... 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.