Oracle's Knowledge Points

dba

It is not possible to create a table in an Oracle database without creating a database like SQL Server database, you must first create the database user, that is, the different user names in the Oracle database will have different databases, just to

View table space conditions-oracle SQL statements

SELECT UPPER(f.tablespace_name) "tablespace name", D.TOT_GROOTTE_MB "table space size (M)", D.TOT_GROOTTE_MB-f.total_bytes "used Space (M)", To_char (ROUND((D.TOT_GROOTTE_MB-F.total_bytes)/D.tot_grootte_mb* -,2),'990.99')|| '%'"Use ratio",

Oracle Database Learning

Database (DB)A database is a collection of large amounts of data that are stored in a computer, organized, and shared over a long period of time. The data in the database is organized, described and stored according to a certain data model. With a

Export data from Oracle using the spool command

The company's website uses an Oracle database, and recently exported the data inside, using the MySQL databasespool d:\db\{file name}.sqlSetHeadingoff;SetEchooff;SetFeedbackoff;SetPages0;SetTermoutoff;SetPageSize0;SelectCONCAT (CONCAT ('INSERT into

Oracle database about creating use of databases, tablespaces, multiple tables, views, stored procedures, sequences

Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0Connected as [email protected] as SYSDBASql>Sql>--Create userSql>create user LPA identified by liPeng1;User createdSql>--Grant DBA authority to the userSql>Grant DBA to LPA;Grant

Oracle Full-Text indexing

1. Check that the database has full-text indexing (this is for a database that is already in use)See if there are Ctxsys users in the user, and whether the Ctxapp role exists in the query role. 1 of the above two are not satisfied (not present),

Oracle queries whether a person's department (326) is part of a department string (329|2) or in a sub-department of the Department string

Department 326 is the parent department of Department 329, department 2 and department 326 are peers;Account Muyunfei, belonging to 329 departmentsThe message is sent to department 2 and department 3,262 departments (326|2), sending the department

About Oracle 10g's schedule Job

-- Job PermissionsGrant CreateJob tosomebody;--Job CreationbeginDbms_scheduler.create_job (Job_name= 'Agent_liquidation_job',Job_type= 'stored_procedure',Job_action= 'agent_liquidation. Liquidation', --Stored Procedure

JDBC Connects to Oracle database

/*** Connect different databases by changing configuration files*/PackageCom.xykj.jdbc;Import Staticorg.junit.assert.*;ImportJava.io.InputStream;Importjava.sql.Connection;ImportJava.sql.Driver;Importjava.util.Properties;Importorg.junit.Test; Public

Oracle takes string lengths of functions Length () and HENGTHB ()

http://blog.itpub.net/161195/viewspace-613263/LENGTHB (string) computes the byte length of a string: returns the length of the strings, in bytesLength (String) calculates the string's characters: the length of the returned strings, in charactersFor

Oracle->> row to column, column change

In addition to the pivot and UNPIVOT functions, there are also such as case-when + aggregation functions like max,sum to complete. Today, we find out that Oracle has such a function called the IIF similar function, which is a new function after SQL

How to replicate table structures and table data in Oracle

1. Copy the table structure and its data:CREATE TABLE Table_name_new as SELECT * from Table_name_old2. Copy only the table structure:CREATE TABLE Table_name_new as SELECT * from Table_name_old where 1=2;Or:CREATE TABLE table_name_new like Table_name_

Oracle Archivelog mode and non-archivelog mode conversion

dba

The recent integration environment when the archive log is full, the database is unable to log in, ask the DBA to find out, privately according to the DBA's search scheme, take the development environment to do a database mode switch, in order to do

ADO Call Oracle Stored procedure

The purpose of writing this is because EF directly executes the stored procedure varchar type return parameter direct throw exception mode 1 can be normal execution mode 2 does not use varchar return parameters can be appliedWay 1:ado.net

Oracle Dynamic static Parameter modification rules

Sql> Select name,value,isses_modifiable (Parameters modified at session level), issys_modifiable (parameters modified at the system level)2 from V$parameter3 where name= ' max_dump_file_size ';Sql>alter system Reset _allow_resetlogs_corruption scope=

Oracle XMLTable tutorial and example, oraclexmltable

Oracle XMLTable tutorial and example, oraclexmltable Since Oracle 10 Gb, Oracle has added the XQuery and XMLTable functions as weapons for processing XML. Like XMLQuery, you can use the XQuery language to construct XML data and query XML and

Use SQL to perform pivot tables, and convert rows and columns of database tables (usage of tables and unstatements) (1 ).

Use SQL to perform pivot tables, and convert rows and columns of database tables (usage of tables and unstatements) (1 ). As you all know in mssql, you can use the pivot to collect statistics and implement the pivot table function like excel. I.

In Linux, the Oracle database is automatically backed up using scripts and the backup days ago is deleted.

In Linux, the Oracle database is automatically backed up using scripts and the backup days ago is deleted. Note: Oracle Database ServerOperating System: CentOSIP: 192.168.0.198Port 1521SID: orclOracle Database Version: Oracle11gR2 Specific

Oracle queries whether the Department (326) of a person belongs to the Department string (329 | 2) or the sub-department of the Department string.

Oracle queries whether the Department (326) of a person belongs to the Department string (329 | 2) or the sub-department of the Department string.   Department 326 is the parent department of Department 329, and Department 2 and department 326 are

[SQL entry level] Next part: Continue to query; last part of SQL

[SQL entry level] Next part: Continue to query; last part of SQL It has been a long time since the previous article. This article continues to query and briefly summarizes the knowledge of Aggregate functions and grouping. 1. Aggregate functions

Total Pages: 2147 1 .... 1629 1630 1631 1632 1633 .... 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.