ORACLE: Check the structure of a table

ORACLE: Check the structure of a table named test_table, just using the follwoing command:   Describe test_table;   The output has 3 columns:   The first column displays the column name of table dual;   The second column displays whether

"Closed connection" error in Oracle

Cause: Incorrect ORACLE_HOME location OpenRegisterTable, HKEY_LOCAL_MACHINE/software/Oracle check whether the registration path of Oracle is consistent with the actual installation path. If not, change the Registry path to the actual path! [This

Debugging notes for solving Oracle array Character Set problems.

Import java. SQL. callablestatement;Import java. SQL. connection;Import java. SQL. drivermanager;Import java. SQL. resultset;Import java. SQL. sqlexception;Import java. util. arraylist;Import java. util. List; Import oracle. JDBC.

Oracle 10g Console Logon error solution-installation Configuration

After Oracle 10g R2 is installed, the following errors are prompted when you log on to the Web console: Io exception: Unknown host specified; the network administrator downloads dl.bitscn.com Java. Lang. Exception: exception in sending request:

Pre-fabricated users in Oracle are enabled

Pre-fabricated users in Oracle are enabled Some oracle users are premade and useful, but they are locked during initialization. We need to manually enable it. SQL * Plus: Release 10.2.0.1.0-production on Tuesday April 9 20:02:02 2013 Copyright

Simple instances of jobs in Oracle

Oracle job is a function provided by Oracle to regularly execute a stored procedure or package. Main scenariosPerform related operations on the background at regular intervals. For example, save the data of one table to another at every night, and

Create a directory in Oracle

Generally, directory is created to use a Data Pump to import/export data. In fact, directory has many other functions, which will not be described in this article. 1. New directory syntax Create [or replace] DirectoryDirectoryAs'Pathname'; For

Instructions on pctfree and pctused in Oracle

Pctfree: The percentage of space used for the update operation is retained in the block. When the occupied space reaches the upper limit, new data cannot be inserted into the block;    Pctused: Specifies the minimum percentage of space used by data

Forcibly delete a user created in Oracle

Source: http://blog.csdn.net/shmiloy001/article/details/6284419 Abstract: 1. Select Sid, serial #, username from V $ session; 2. Alter system kill session '_ SID, _ serial #'; (based on the result of step 1) You can use kill to delete a connected

Priority of SQL operators in Oracle

  SQL operator priority: Priority 1 Arithmetic Operators 2 Connector 3 Comparison operator 4 Is [not] Null, like, [not] In 5 [Not] 6 Not 7 And 8

Oracle fuzzy inquery, using ignore case.

Here is an example:   Prepare data: Create Table fruit ( ID number (4) primary key, Name varchar2 (150) );   Insert into fruit (ID, name) values (1, 'apple ');Insert into fruit (ID, name) values (2, 'bana ');Insert into fruit (ID, name) values (3,

In the Oracle database, the read-only result set is invalid: updatestring

CodeConn = drivermanager. getconnection (URL, username, password); stmt = Conn. createstatement (resultset. type_scroll_insensitive, resultset. concur_updatable); string SQL = "select * from users"; rs = stmt.exe cutequery (SQL); // system. out.

In Oracle, to_char and to_date

To_char converts a date or number to a string to_date. in the database, the date type conversion function to_number converts the character to a number to_char. The to_char function is used to process the number to_char (number, 'format') to_char

An Oracle smear Error

CREATE TABLE objects1(owner VARCHAR2(30),object_name varchar(50),object_id NUMBER,created DATE,status VARCHAR2(1000)); P86 Set line 1000 pages 0 I don't know if it was a printing error. I was raped by this mistake for two nights. If set line 1000 is

Cross-platform tablespace transfer in Oracle

  The transfer tablespace function in Oracle is used to move tablespaces and data files in one instance to another instance. It is convenient and quick to execute.However, there are some restrictions on using this function:The two platforms must be

List of user authorization commands corresponding to the Oracle import/export Function

The system user cannot perform database backup and recovery operations (the XMP Data File Import and Export function ). After creating a user in the previous article, you must specify the user permission for the Import and Export Operation. The

Oracle 11G function set

Oracle 11G function set Chapter 10All lower caseSelect lower (200 + 200), lower ('SQL'), lower (sysdate) from dualSelect first_name, last_name, lower (last_name) from employees where lower (last_name) like '% ur % ';-- UpperAll uppercaseSelect *

Oracle grouping_id Function

You can use the grouping_id function to filter records with the having clause, removing records that do not contain subtotal or total. The grouping_id () function can accept one or more columns and return the decimal value of the grouping bit vector.

How to query the users of the lock table and release the locked table in Oracle

You can use the following SQL statement in PL/SQL to query which tables in the current database are locked and which users are locking these tables: SelectA. Owner, -- user to which the object belongsA. object_name, -- Object Name (table name)B.

Oracle backup and recovery of single or multi-table data

Oracle backup and recovery of single or multi-table data Oracle backup, recovery of single or multi-table data steps, applicable to Oracle 8, 9, 10.*Back up single or multi-table data:Exp user/password @ Server File = filefullpathname log =

Total Pages: 2147 1 .... 1490 1491 1492 1493 1494 .... 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.