To create a table for an Oracle database:
Dim myConnectionString as String
Dim MyConnection as OleDbConnection
Dim MyCommand as OleDbCommand
Dim Mycreatesql as String
myConnectionString = "provider= ' oraoledb.oracle.1"; User id=[user ID];D ata
Cursors are divided into implicit cursors and display cursors.
One, implicit cursorsThere is an implicit cursor attached to the SELECT * into and DML operations (update, delete, insert).
Attributes of an implicit cursor
Sql%rowcount integer
First, the concept of the index
Index is similar to look up a dictionary, through pinyin, strokes, only a few steps can find the word. Database, through the index, as long as a small amount of reading, you can find the required records.
Oracle creates table spaces and users
Oracle Learning for beginners like me, or to step by step, first of all to understand the basic concepts.
I think Oracle learning can be divided into several parts:Basic system usageSystem tuningSQL statement
NVL (name,0) empty then take 0. SUSTRB (manth,1,4) first started to take 4 digits. Decode (je,1,1,2), je 1, displays 1, or 2.
Select Classno, AVG (score) from student group by Classno has avg (score) = (select Max (avg (score)) from student GROUP
How to transfer an Oracle database tutorial file to another machine
Because restoring video data causes insufficient space to terminate, you need to transfer some data files to another hard drive. In the reference section
Network data, combined
SQL Server and Oracle acquisition time and date difference1. Get System Current TimeSQL Server 2005:
Select GETDATE ()
The GETDATE () function returns the current time and date from SQL Server.
GrammarGETDATE () instanceExample 1Use the following
Problem description
Plsql developer executes a section of SQL error:
After checking alert log detailed error message is:
Ora-07445:exception Encountered:core Dump [EVAOPN2 () +128] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
Returning itself is often used in conjunction with DML statements. (INSERT UPDATE DELETE)
How to use:
UPDATE table_name SET EXPR1
returning column_name into
xxx
INSERT: Returns the value that is addedUpdate: The updated value when
DB Storage Hierarchy
(Drawing a sketch, will take a look ...) XD)
Managing Table Spaces
-system Storing data dictionary information, it is necessary to create a database when creating the first
-sysaux 10g new, necessary, auxiliary sharing
1. Visit the official website of oralce, download the related compression packageHttp://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
Note: Under the Mac mountain lion operating system, download the x86 32-bit version. Can't use
The Reset method is as follows: Open the cmd command prompt, and then enter the following command to reset:
Input Sqlplus/nolog, carriage return
Sql> Conn/as SYSDBA
is connected;
Sql>alter user system identified by "123456"; ---(123456 is the
First install the Oracle 10g CD-ROM into the CD-ROM drive, and if it runs automatically, it will typically appear as shown in Figure 1 installation Interface:
Figure 1
By clicking Start installation, you can install Oracle 10g, typically checking
First, cold backup1, cold backup occurs when the database has been shut down normally, before making a cold backup, you usually need to know the name of the backup file and the path
Copy Code code as follows:
Sql>select name from
The Creates a function in Oracle that was intended to return a index table without success. Think of the text can also transfer information, suddenly came to the inspiration, the return value set text format. The return value type is set to CLOB,
Requirements Description:
Need to check out a customer one year those days is a continuous business
implement SQL as follows:
To create a table:
Copy Code code as follows:
CREATE TABLE Test_num
(Tyear number,
Tdate date);
After a long period of learning to create Oracle Tablespace, so share with you, after reading this article you certainly have a lot of harvest, hope this article can teach you more things.
1, first query the free space
Copy Code code as
Whenever we encounter SQL-related performance, we always need to collect 10046 to view and diagnose the problem.Since 10046 the true response of the SQL statement executes when the real information, parsing, execution, acquisition time consumption,
First, when the customer adds disk to one of the rac nodes, it finds that the node is not successfully added to the other node, and then repeatedly adds or even adds the dd disk header.One of the most fatal actions is to force add disk. In fact,
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