The previous chapter briefly introduces how to install the odac plug-in for Oracle. This chapter describes how to use EF's dbfirst
Database Table
Id Primary Key, itempriceid, and inclumentid3 fields are of the number (20) type.
The following
Objective: using Oracle Automatic Memory Sharing Management is basically a modification process. Leave a message if you want to sort it out.
SQL> show parameters target;
Name type
The company's new project uses Oracle database and entityframework. There is no suitable information on the Internet, so you cannot learn and practice it.
First, use dbfirst mode.
1. Download the Oracle plug-in odac that supports ado.net.
Odac 11.
As we all know, roles are a set of permissions, and Oracle has some built-in roles for easy management.
Speak nonsense and start with the question.
I. Several Simple oracle roles
1. CONNECT
2. RESOURCE
2. Analyze built-in roles one by one
1. CONNECT
Install oracle in linux:
Oracle claims that the installation of Oracle9i Database in Linux requires at least MB of memory and at least 1 GB or twiceSwap space with a memory size. For servers with a system memory greater than 2 GB, the swap space can
1. sid: site identifie)
2. spfile: Server parameter file, which stores parameter files
3. query the current value of the database parameter (see the Oracle database reference manual ):
Select value from v $ parameter where name = 'pga _
Today, Oracle10g is installed on RHEL. the following error message is displayed:
Exception in thread "main" java. lang. unsatisfiedLinkError:/tmp/OraInstall2011-09-29_02-16-45AM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object
Assume that, as shown in the following table, the number of rows corresponding to each I value is not fixed.SQL> select * from t;
I A D---------------------------------------1 B 10:55:421 a 2008-03-27 10:55:461 d 10:55:302 z 2008-03-27 10:55:552 t 1
1. Some SQL statement differences (1) SQL: select top 10 * from tableORA: select * from table where rownum (2) SQL: Select * from t1 join t2 on t1.c1 = t2.c1ORA: select * from t1, t2 where t1.c1 = t2.c1(3) select * from t1 left join t2 on t1.c1 = t2.
For example, there is a personnel table (table name: peosons)
If you want to query records whose names, ID card numbers, and addresses are identical
Select p1 .*
From persons p1, persons p2
Where p1.id <> p2.id
And p1.cardid = p2.cardid and p1.pname
Check database status
Check that all INSTANCE statuses and listener statuses are normal. log on to all databases or routines and check the ORACLE background processes:
$ Ps-ef | grep ora
$ Lsnrctl status
SQL> select status from v $ instance;
Check
When connecting to an ORACLE database, the customer must provide the "user ID", "password", and "network service name". The network service name is used to find the ORACLE service on the network. There are five methods for network service name
1. Oracle 10g & 9i and earlier Alert log locations:
In Oracle 10g and 9i and earlier versions, alert log is located in ORACLE_BASE/admin/$ ORACLE_SID/bdump
1.1 view the database version:
[oracle@czjie ~]$ sqlplus /nologSQL*Plus: Release 10.2.0.4.0 -
Recently, I had to study the Oracle database because of the need of the project. I think back to the last time I used Oracle for years. During my internship, BMW Brilliance's project had a simple access to Oracle. This project needs to be based on
Bulk collect is used to reduce loop processing overhead. Bulk Collect is introduced in Oracle8i for the first time to improve Oracle query efficiency. This feature allows us to use batch query in PL/SQL, batch query can significantly improve query
In this article, I will introduce how to use oracle trigger to generate autoincrement column in oracle database. I will use an example here to restrict strate.
1. Create a table in oracle database.
View Code
Create table USER_INFO
(
User_ID integer
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