Except is null and is not null, any operation on null is null;In Oracle, pay attention to the null and or operations.And Operation: null and true = NULL, null and false = false, null and null = NULLOr: null or true = true null or false = false, null
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
In the previous article Oracle9i database connection access solution, I wrote a permission issue about ASP. Net Access to Oracle9i database. Error message: Unable to load DLL (OCI. dll) or unable to find Oracle client and network components
Today,
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
This method can be used when you forget the password of a user in the Oracle database.
Please use it with caution !!! To avoid unnecessary losses.
Sqlplus/nologConnect sys/youroracle as sysdbaAlter user system identified by newpwd;Connect system/
One listener can listen to multiple database instances, and multiple listeners can also listen to one database instance.
To start a listener, run the following command:
LSNRCTL start
To view the status of a listener, run the following
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
Overall structure of the Oracle database
Database Structure
In fact, I introduced the database structure in the previous article about tablespace, but the figure is just a simple hierarchy. This picture looks quite complicated, just
Oracle817 requires that data on one server be automatically synchronized to another server at night. To facilitate the use of the import and export tool, it is automatically executed in Windows tasks:
1. sqlp. BAT:Del c: \ auto45.dmpStart/Wait
1. For details about how to install the Oracle transparent gateway, see http://space.itpub.net/6517/viewspace-145560. The main process is: install the software, configure the tg4msql connection parameters, configure the listener and service name,
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. first, install Oracle, and install the Oracle client on the machine that will install SDE, configure net manager. A service name XXXX points to the installed oracle2. install ArcSDE on the machine to which the SDE is to be installed according to
Oracle Database Introduction1. Grid Architecture1.1 advantages of grid computingProvide service quality, reduce costs, and increase flexibility1.2 grid computing DefinitionThe grid computing method is to regard the collection of various resources as
The Oracle decode function is very powerful. The following describes the usage of the Oracle decode function in detail. We hope you can learn more about the Oracle decode function.
Oracle decode Function
Oracle decode function is an exclusive
OracleIt takes four States to start,Shutdown,Nomount,Mount,Open,
Shutdown status
The first State has nothing to explain,OracleAll files are quietly lying in the disk, and everything has not started yet. It is in the shutdown
I. Concepts of relational databases
1. The value of the primary key cannot be changed.
2. Foreign key: a field pointing to the primary key or unique key of another table or table. The foreign key value must be the same as a primary key or be
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
The notebook accidentally got into the water yesterday, forced shutdown. This problem persists in the morning. The database cannot be opened and an error is reported,
After logging in with sysdba
Code
Code highlighting produced by
Cause: in fact, the system version is in English and the environment variable is also in English. After it is changed to Chinese, the JDK/JRE character set is the default English character set.
Solution: install and use the new character set to
Course 1 PL/SQLBasic query and sorting
Highlights of this course:
1. Write the SELECT statement for database query
2. perform mathematical operations
3. process null values
4. Use the alias ALIASES
5. Join Columns
6. Edit the buffer in SQL plus and
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