1. Alter database set default bigfile tablespace;// Modify the tablespace data file type
2. Alter tablespace old_name to new_name;// Modify the tablespace name
3. Select * from V $ database;Show parameter DB // View database information 4. Select
You need to download a plug-in to connect to the Oracle database.Http://www.ericjsmith.net/codesmith/forum/attach.aspx? A = 405
Installation Method:Copy the following two files to c: \ Program Files \ codesmith \ v2.6 (or the installation directory)
Because I still use vs2003, only version 3.1 is available. In the past, versions 2.6 were used. All attacks are detected.ProgramIt's much more convenient.
I wrote "set codesmith to connect to the Oracle Database", which is about Oracle provider in
Have you gotten the error; "remoteoperationexception: Error: Wrong Password for user" with Oracle 10g? If so, it is probably because the OS user that you are trying to login to the Oracle Enterprise Manager with has not been setup to allow the user
Oracle date Query
From: http://hi.baidu.com/fengboy_7334/blog/item/b0aa60035f36a1e809fa935d.html
Example: Select * from C where cdate> = to_date ('2017-10-14 14:00:00 ', 'yyyy-mm-dd hh24: MI: ss ')
Select * From mytable where to_char
Sometimes we need to execute multiple SQL statements at a time, and the SQL statements used for updating are used according to the actual situation.CodeSpelled out
The solution is to splice the SQL statement into the following form:
BeginUpdate tb_
ISQLPLUS (Web SQL plus) is a web page. You must start the following services:
Set oracle_sid = orcl
Net start oracleserviceorcl
Isqlplusctl start
LSNRCTL start
You can view the port in the/oraclehome/install/portlist. ini file. Different
1. VC ++ uses oo4o to connect to the Oracle databaseCOM (Component Object Model) is a technical strategy that Microsoft implements software componentization design and software reuse based on the window platform. Oo4o is a set of programming objects
The character set we8iso8859p1 is the source database, and the database whose character set is zhs16gbk is the target database.
1. Set the client character set to we8iso8859p1 (set HKEY_LOCAL_MACHINE \ SOFTWARE \ oracle \ home0 \ nls_lang in the
1. The following statement is used to query which objects are locked:
Select object_name, machine, S. Sid, S. Serial #
From v $ locked_object L, dba_objects o, V $ session s
Where l. object_id = O. object_id and L. session_id = S. Sid;
2. The
From: http://hi.baidu.com/wuxg/blog/item/d9c8e750426bc7491038c2c2.html
Simple xmltype operations in Oracle (Extract, extractvalue)
I have been operating on the xmltype field in Oracle a few days ago. I am not using Oracle yet. I
/*
Decode Function
*/
--
The prototype of the decode function is decode (testvalue, if1, then1, if2, then2.... else ).
--
Test testvalue. If testvalue is set to if1, then1 is returned. If testvalue is set to if2, then2,... is
I have been using SQL Server and other databases. I learned how to use orcale for the first time. I feel that it is not as difficult as I think. It is also said that configuration will take an afternoon .... Share a 10 Gb video tutorial. It feels
Ora-12638: Identity Authentication retrieval failed. with SQL: Select * from t @ zjdtdblink. solution: view the dtdblink Data Link in dbastudio, which is not active. check whether the Domain Server is disconnected. after restarting the Domain Server,
Export. bat
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Sqlplus Prize
/
Prize
@ Orcl1
@ D
: \ AA. SQL
AA. SQL
Code
Code highlighting produced by Actipro
Http://www.blogjava.net/gf7/archive/2007/03/13/103556.html
C: \ sqlplus/nologSQL> Conn/As sysdba
SQL> show parameter processes;
Name type value-----------------------------------------------------------------------------Aq_tm_processes
Numeric functions:Absolute Value of abs (m) mMod (m, n) m remainder after n DivisionPower (m, n) m's n powerRound (m [, n]) the value of m rounded to n digits after the decimal point (n defaults to 0)Trunc (m [, n]) m truncates the value of n
Three default usersSys change_on_installSystem managerScott tigerCreate userCreate user lisi identified by lisi;System PermissionsGrant create session to lisi;Grant create table to lisi;Grant unlimited tablespace to lisi;
Revoke create session from
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