Oracle notes: Tables and fields (1)

Oracle notes: Tables and fields (1) 1. CREATE a TABLE: www.2cto.com first CREATE a TABLE and a field: create table mytable (id number (12) not null, NAME VARCHAR2 (32), DESP VARCHAR2 (100), age number (3 ), brithday date default sysdate) tablespace

Oracle queries table space usage

Oracle queries table space usage SQL code select f. tablespace_name,. total, u. used, f. free, round (u. used/. total) * 100) "% used", www.2cto.com round (f. free/. total) * 100) "% Free" from (select tablespace_name, sum (bytes/(1024*1024) total

Oracle in and exists statements

Oracle in and exists statements in and exists in use a hash connection between the external table and the internal table, while exists uses a loop for the External table. Each loop then queries the internal table. The argument that exists is more

Oracle deletes a table starting with Bin

Oracle deletes tables starting with Bin to delete tables starting with Bin, that is, tables that are already DROP but exist in the recycle Bin: --> www.2cto.com query all such tables SQL> SELECT * from recyclebin where type = 'table'; Delete All

ORA-01460: conversion requests cannot be implemented or unreasonably addressed

ORA-01460: the conversion request cannot be implemented or unreasonably solved oracle10g Database execution database update SQL error: www.2cto.com Caused by: java. SQL. SQLException: ORA-01460: conversion requests cannot be implemented or

ORA-12514 and ORA-28547 troubleshooting

ORA-12514 and ORA-28547 error fix Oracle11g full database installed, the Oracle is previously installed with the modify configuration NET Manager can be connected. But there was a small accident today. Let's summarize it here. Www.2cto.com (1)

ORA-03113: end-of-file on communication channel solution

ORA-03113: end-of-file on communication channel address the loss of an INACTIVE log group simulation on www.2cto.com today, encountering ORA-03113 SQL> select group #, archived, status from v $ log; GROUP # arc status ---------- --- ----------------

Oracle Database: securely deleting Database users

Oracle Database: before you use drop user cascade to safely delete a Database user Kill Session www.2cto.com, you usually use kill session to terminate the currently connected Session, however, it takes a long time to kill a session if a long

Oracle temporary table Application Problems

Oracle temporary table application problems some people have provided the best optimization ideas on the Internet: 1. first, extract the records that meet the conditions in the large table to generate a temporary table. 2. then, associate the small

Special Character Processing in oracle

Oracle Special Character Processing if you have a project or product that supports fuzzy search, we recommend that you perform a test: Enter "_" in the search box (underline) or "%" (percentage), and then search to see what results will be obtained.

Oracle tool: Analyze

Oracle tools: analyze (I) three major functions www.2cto.com ① collect and delete indexes, statistical information of tables and clusters ② verify the structure of tables, indexes and clusters ③ identification tables and cluster and row migration

About calling the oracle stored procedure with the output parameter CURSOR

About calling the oracle stored procedure with the output parameter CURSOR 1. create Procedure with Out parameter of CURSOR type www.2cto.com Java code create or replace package pa_query as type p_cursor is ref cursor; end pa_query;/create or

How to thoroughly uninstall oracle

How to thoroughly uninstall oracle close all oracle services and programs Select Start | program | oracle Installation Products command, run Universal Installer, pop up the welcome dialog box www.2cto.com single-host uninstall product button, in the

Usage of the oracle add_months Function

The usage of the oracle add_months function is explained in detail using the oracle add_months function, you can get a certain time before or after n months, if you have encountered similar problems before, take a look. Www.2cto.com if you need to

Enabling the 10g flash back feature of oracle

Oracle 10g flash back function 1. version number. Www.2cto.com SQL> select * from v $ version; BANNER implements Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProdPL/SQL Release 10.2.0.1.0-ProductionCORE 10.2.0.1.0 Production TNS for

Common oracle commands-tnsping

Common oracle commands tnsping Oracle Net tool (command) tnsping is an OSI Session Layer tool used to: 1) Verify name resolution (name resolution, of course, it is oracle's own network service name) 2) whether the remote listener starts www.2cto.com

How to exit the sqlplus ed operation

How to exit the sqlplus ed operation today to go to sqlplus. After the statement is executed, modify it with ed, but it will not exit, as shown in the following: SQL> select * from dba_tables www.2cto.com SQL> ed Wrote file afiedt. buf 38: q? /?

Resolving an exception that exceeds the maximum number of opened cursors

If the maximum number of opened cursors is exceeded, the following error occurs in the recent project: java. SQL. SQLException: ORA-01000: maximum open cursors exceededat oracle. jdbc. driver. databaseError. throwSqlException (DatabaseError. java: 11

Oracle-common monitoring SQL statements

Oracle-commonly used monitoring SQL statement 1. monitoring instance waiting: select event, sum (decode (wait_time, 1) prev, sum (decode (wait_time, 0) curr, count (*) from v $ session_wait group by event order by 4; 2. contention for rollback

Oracle redo log wait events

Oracle redo log wait events these two days found that the development database, when running some small DML transactions, will often appear log buffer space events, then, four groups of redo logs are increased to 300 mb. After the log buffer

Total Pages: 2147 1 .... 1349 1350 1351 1352 1353 .... 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.