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
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
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
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
(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
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
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?
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 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
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
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
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
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
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
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
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-- 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
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 $
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