SQL statements related to modifying the table structure in Oracle 9i1. Add a column:Alter table table name Add (column name data type );For example:Alter table emp add (weight number (38,0 ));
2. Modify the Data Type of a column (generally, the
Problem description:Truncate table vmsbusi. vms_mailbox_info; The vms_mailbox_info table has only 35 records, and the truncate table takes about 1 minute.
Solution:Each of these indexes is about 1 GB and is the size of the initial extent. Obviously,
$ LSNRCTL start
Error message:
the listener supports no servicesthe command completed successfully: the following error occurs when the remote connection is started: Oracle ORA-12514: TNS: Listener does not currently know of Service requested
Today on the machine installed Oracle 10g, after the installation is complete error prompt "ORA-00988: Password missing or invalid", then can not enter the console for corresponding operations and management, I have not encountered this error before
Statements such as Oracle table structure, owner, and all tables Select * From dba_tables query all tables in the system
Select * From all_tab_columns where table_name = 'tablename' and owner = 'ownername' query a specific table structure in the
I believe that all users log on as new administrators rather than administrators. The software is usually installed under the system drive letter by default, for example, C:/. in Windows XP, this will not cause any problems, but in Windows 7, the
UnionThe purpose of the command is to combine the results of two SQL statements to view the query results you want.
For example:
Select date from store_informationUnionSelect date from internet_sales
Note: In Union usage, the Field Types of the two
This section describes how to configure the connection pools of Oracle, SQL Server, Sybase, and MySQL databases under websphere, and provides examples of corresponding connection pools. Compared with WebLogic, the configuration of the WebSphere
1: SQL Server date type:
For 'yyyy-MM-DD hh: mm: SS
2. MySQL Date and Time type:Date. The supported range is '2017-01-01 'to '2017-12-31 '. MySQL displays the date value in 'yyyy-MM-DD 'formatDatetime, a combination of date and time. Supported range:
There are many methods to modify the/dev/Hello permission. Now I put it in ueventd. sun7i. RC under device/softwinner/Wing-xxxx/. Modify:
Diff -- git a/ueventd. sun7i. rc B/ueventd. sun7i. RCIndex d79557e .. 0bb9fb0 100644--- A/ueventd. sun7i. RC++
Check an online article to display the list of events from 10000 to 10999,
I want to see if there is another one, so I will slightly modify it, from 0 to 20000, and export it to the oracle.txt file.
Set linesize 120Set feedback offSet serveroutput
1. log on with an oracle userIf you want to install it again, you 'd better back up the data first.The script includes the user's login script, the script for automatic database startup and shutdown, and the script for automatic listener startup.If
1.If you cannot run./runinstaller and the error X11 is displayed, run the following command as root # xhost +
2. If you enter the dbca command, the interface disappears inexplicably In the last step, and the following error message appears on the
1. log on with an oracle user
If you want to install it again, you 'd better back up the data first.
The script includes the user's login script, the script for automatic database startup and shutdown, and the script for automatic listener
When I installed Oracle for my classmates today, I found this error (SID already exists). The following is a solution:
1. Start-> Settings-> Control Panel-> management tools-> servicesStop all Oracle services.
2. Start-> Program-> Oracle-orahome81-
Oracle view users, user permissions, user tablespaces, user default tablespaces 1. view the relationship between users and default tablespaces. Select username, default_tablespace from dba_users; 2. view the table of the current user: Select
1.
DeclareCursor T1 is select * From tablename;BeginFor REC in T1 LoopUpdate tablename t set T. Detail = Rec. jieshao where T. objectid = Rec. objid;End loop;End;
2.
Update student set (name, ID) =(Select name, ID from (select student. rowid Rd,
Requirements for installing Oracle 10gr2 on rhel_oel 5 (x86) [ID 419646.12.16.htm
Requirements for installing Oracle 10gr2 on RHEL 5_oel 5 (x86_64) [ID 421308.12.16.htmRequirements for installing Oracle 10gr2 RDBMS on RHEL 5 on Linux itanium (IA64) [
Method 1:
1. Both commit and rollback can be unlocked in the current session.
2. Pass
Search for user locks
Select S. username,
Decode (L. type, 'TT', 'table lock ',
'Tx ', 'row lock ',
Null) lock_level,
O. Owner, O. object_name, O. object_type,
S.
Waiting event category:
========================================================== ========================================================== ====================================
Administrative: Wait for the user to wait for the DBA command
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