Oracle Query Table comments

Field CommentSELECT * from User_col_comments;Table notesSELECT * from User_tab_comments;Query field typeSelect Column_name,data_type,data_length from User_tab_columns where table_name= ' TableName ' and column_name in (' age_id ', ' month_id

Modifying an Oracle user Password never expires

1, check the user's proifle is which, is generally default:SQL>SELECT from Dba_users;2. View the password expiration settings for the specified profile (such as default):SQL>SELECT*fromWHERE s.profile='DEFAULT ' and

Some common commands for Oracle

Start monitoring: Lsnrctl startView monitoring: Lsnrctl statusStop listening: Lsnrctl stop1. Oracle data Server includes: instance process and database;Instance processes include: Memory structure (SGA) and background process (Pmon (process

Oracle Connect by usage

Experiment with the EMP table from the Scott user first.EMP table has a field, one is Empno (employee number), the other is MGR (higher manager number)Here is all the data in the table 1 select* from emp start with  empno=7698

Oracle Partitioned Table Learning

(1) The concept of table space and partitioned tableTable Space:is a collection of one or more data files, all of which are stored in the specified table space, but are primarily tables, so called table spaces.Partition table:When the amount of data

Several examples of Oracle over functions

The data used for the test is the EMP table in Scott/tiger mode:We use the job and sal two column tests:The above statement refers to the job placement group (partition by job) and then ranks within each group by salary (SAL). Notice the

The role of Oracle attachment logs

Why do I have to turn on additional logs when goldengate is in use? People think, if I do update on the source side, how does the target know what row of data I am modifying? So what do we use to identify this line of data that we've modified? ROWID?

Oracle built-in functions

--ascii Code and character conversionSelect Chr (65) | | Chr (66) | | Chr (ABC,CHR) (54678) from dual;Select ASCII (' 諙 '), ASCII (' ABC ') from Dual;--Get the string length functionSelect Length (' Abcde i Fghi ') from dual;--string

MySQL Project Porting Oracle Issues

Recent company projects to support the Oralce database, we migrated the project, the project using MyBatis need to manually modify the MyBatis SQL XML file, the modification process encountered a lot of problems, recorded here for easy follow-up

To modify the maximum number of Oracle connections

To modify the maximum number of Oracle connections1. Ways to modify the maximum number of connections for OracleA, landing in SYSDBA status of PL/SQL or WorksheetB, query the current number of connectionsShow parameter processes;C, change the number

SQL statements for Oracle replicated tables

as follows, table A is a table that already exists in the database, and B is a table that is ready to be copied from table A:1. sql that replicates only the table structureCREATE TABLE B as select * from a where 1<>12. sql that replicates the table

Oracle 10g Installation Script

#!/bin/shCat /etc/sysconfig/networkNetworking=yesNetworking_ipv6=noHostname=dbEofHostname DBCat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4:: 1 localhost localhost.localdomain localhost6

The usefulness of Oracle's various services

oracle10g after installation, there are usually the following services:1.OracleCSServiceThe Oraclecsservice service manages the configuration of the cluster by controlling the members of the cluster nodes and notifying them when the node is joined

Opening of Oracle+fluentdata+mvc4+easyui development Rights Management System

 in the garden there are a lot of Ef+mvc+easyui framework is too much, after a period of time to learn to write ideas, but all for the SQL data, but this year I became the team leader of the first task is to write a general platform framework, a

Oracle Java Stored Procedure + package Invocation

1. Create a Java Stored ProcedureCreate or replace and compile Java source named "Testhello" Aspublic class testhello{public static void Test () {Syste  M.out.println ("Hello"); }}2. Create a JSP call stored or method (this example is saved in a

Modify TMPFS size and make it effective under Oracle Linux (OEL)

Increase the size of the TMPFS under Oracle Linux and increase the 502M to 3G (note: The initial value is half of memory)First change the/etc/fstab tmpfs size to 3GAdd size=3g after Tmpfs,Ok,/etc/fstab edit completed, but Oel and redhat a little

The setting of INITIAL Parameter causes the truncate table to fail to reduce the case of the high water level line, and the truncate water level line

The setting of INITIAL Parameter causes the truncate table to fail to reduce the case of the high water level line, and the truncate water level line Using the following SQL statement in a database, I found a batch of tables that need to reduce the

Oracle number type Scale is 0, oraclescale

Oracle number type Scale is 0, oraclescale Today I encountered a very interesting problem caused by NUMBER Scale. I will use a simple test case to demonstrate this case. Suppose there is a TEST table with a field type of NUMBER, And I insert the

Oracle expdp and impdp commands

Oracle expdp and impdp commands-- Create a remote data connectionCreate database link DB_MZDB11 connect to YTMZTWO identified by YTMZTWO909 using 'mzdb11 ';-- Create a local directoryCreate directory db_mz as 'C :';-- Authorize the user to read and

View common system information in oracle

View common system information in oracle It summarizes common SQL statements used to view oracle databases, which helps Analysis and Optimization of a robust system program. 1. Number of current database connections:Select count (*) from v $

Total Pages: 2147 1 .... 2040 2041 2042 2043 2044 .... 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.