For example, there is now a table (table name: peosons) drop table persons;create table PERSONS (PNAME VARCHAR2 (), CARDID VARCHAR2 (+), ADDRESS Varc HAR2); INSERT into persons (PNAME, CARDID, ADDRESS) VALUES (' Zhang San ', ' 430682199002121010 ', '
There are a lot of problems in the middle of the 2 days because of the need to connect to Oracle databaseI. Using OleDbConnection to connect to a database------------------PROVIDER=ORAOLEDB.ORACLE.1; User Id=sajet; Password=tech;data source=
1. Under WinXP, install 10g, default selection, all the way OK. (Pre-install self-test with DHCP warning, can be ignored directly)2. Command line, under XP, enter Sqlplus, you can start, login with Sqlplus/as sysdba with admin login3. When restoring
Original Sticker Address: http://19880614.blog.51cto.com/4202939/1316560PS: There are many errors in the source code, I have modified---------------------------------------------This is a split line----------------------------------------------------
1. Preface The company recently MySQL database switch oracle,oracle for a long time useless a little strange, just started to do the paging on the rownum and order by priority comparison. Check the information, the Internet said rownum priority is
recently researched SQL optimization, the following articles are transferred from the Internet:1.Grammar single table:UPDATETable nameSETColumn Name = New valueWHEREColumn Name = A value such as: Update t_join_situation set join_state= ' 1 '
Colleague recently in busy data consistency than work, need to different text files in the comparison of data, some files larger, more records, if the ordinary text editor open, it is obvious that will be very card, even can not open.Based on this,
the character function character function is the most commonly used function in Oracle, let's see what the character functions are: lower (char): Convert the string to lowercase. Upper (char): Converts a string to an uppercase format. Length (char):
Data Dictionary-IntroductionThe name of the Oracle data dictionary consists of a prefix and a suffix, using the underscore "_" connection, which represents the following meanings:Dba_: Contains all object information for the DB instance.V$_: The
--1. View the name and size of the table spaceSELECTT.tablespace_name,round(SUM(bytes/(1024x768 * 1024x768)),0) Ts_size fromdba_tablespaces T, dba_data_files DWHERET.tablespace_name=D.tablespace_nameGROUP byT.tablespace_name;--2. View the table
One. Server local installation oracle11g or 10GTwo. Create a tablespace in the run input sqlplus/nolog,oracle.Three. After the installation is complete, enter SQL developer in the run to open SQL Developer (this is the native)Four. Select the JDK
--varchar,varchar2Contact:1.varchar/varchar2 for storing variable-length stringssuch as varchar (20), which is stored in the string ' ABC ', the field in the database is only 3 bytes, not 20 bytesthe maximum value for 2.size is 4000, and the minimum
1. Exporting Oracle DataA. Exporting data using the command lineExp Username/password @database file= fullpath (eg: D:\data.dmp) full=yB. Exporting data using tools (Plsql Developer)2. Importing Oracle Data A. Importing data using the command line(1
Purpose: To deploy 192.168.9.102 on Ggwsxt/[email Protected]:1521/oracle to 1041. View the original user table spaceSelect Tablespace_name,count (0) from dba_segments where Owner=upper (' GGWSXT ') group by Tablespace_name;2. View the directory
Tablespace _ error caused by temporary tablespace: Small ora-01652 example
Error Reporting temporary tablespace Insufficiency: ora-01652
When performing the insert operation, the following error is reported: the temporary tablespace is
Do I need to manually set the CLUSTER_DATABASE parameter when using dbua upgrade?
Do I need to manually set the CLUSTER_DATABASE parameter when using dbua upgrade?Source:Is Manual Setting Of CLUSTER_DATABASE Parameter Required For DBUA Upgrade?
The kill table session in the lock_rac environment appears in the killed status (solved)
Killed state processing occurs in the session of the rac production database kill the lock table
Environment:
Operating System: CentOS 6.4 64BIT
Database:
One-click installation of ORACLE Database creation script
I recently learned shell and wrote it for practice. I only posted a part of it and it cannot be used directly. But it can be used as an example.
#! /Bin/bashSETPASSWD () {# set passwordexpect-
Differences between varchar, varchar2, nvarchar, and nvarchar2 in Oracle and other data types, varchar2nvarchar2-- Varchar, varchar2 contact: 1. varchar/varchar2 is used to store variable-length strings
For example, if varchar (20) is saved to the
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