Oracle has not been used for a long time. If you want to verify an SQL statement tonight, the Oracle service cannot be started. Cold! since the Oracle service was started automatically every time it was started, the Oracle service was started
Batch Processing (BAT file) automatically starts/closes the Oracle service
Determining the Oracle service status
If the service is in the starting status, the service is closed;
If the service is closed, start the service.
@ Echo off for/F
I. Implementation using SQL decode and PL/SQL Functions1. Column and column conversion with fixed columnsFor example
Student subject grade --------------------------- student1 language 80student1 mathematics 70student1 English 60student2 language
Currently, after you print a report in pdf format in Oracle form, you cannot modify the data. Therefore, you plan to import the data in the report to an Excel table, however, make sure that the Excel format is exactly the same as the report format
1. view the table space name and size.
Select T. tablespace_name, round (sum (Bytes/(1024*1024), 0) ts_sizeFrom dba_tablespaces T, dba_data_files dWhere T. tablespace_name = D. tablespace_nameGroup by T. tablespace_name;
2. view the name and size of
The execution plan result field is as follows: Field Name field type meaning
Statement_idThe value of the optimal statement_id parameter specified in the varchar2 (30) explain Plan statement,If set statement_id is not used in the explain Plan
SQL> select * from test;
ID------------------------------------------------------------C_zhangZhangsanCccccc
SQL> select ID from test where Id like 'C _ % 'escape '';
ID------------------------------------------------------------C_zhang
SQL>
When Asp.net stores the clob field to Oracle, the processing is normal if it is less than 4000 characters (the maximum length of oracletype. varchar. However, an error occurs when the value is greater than the value.
Solution ):
Test Table
Create or
select * from ylfwzb.doubt_info a where a.dxlx = '2' and a.dxid = '90990' and a.gzid = '1000000000000001' and a.jbfl= nvl('',a.jbfl);
16
select * from ylfwzb.doubt_info a where a.dxlx = '2' and a.dxid = '90990' and a.gzid = '100000000000
Taking Oracle9i as an example in Oracle-DBA entry, advanced and diagnostic cases, Oracle10g is used as an example.
1. Oracle Server: instance and databaseInstance refers to a group of background processes/threads and a shared memory area. Database
Basic knowledge of Oracle
Table space and schema)
Objects in the same solution can be stored in different tablespaces.
The same tablespace can store objects in different solutions.
Ø each tablespace is composed of one or more data files.
The total
Install Oracle 10.2.0.1g for Linux in Fedora Core 7
1. system resource requirements (these are all nonsense. Now all configurations can meet this requirement !! Haha)
1,At least1gPhysical memory,The hard disk space is large enough. (You can
#1. SQL .txt contains multiple SQL statements: Select * From Testa select * From testb select * From testcselect * From testd select * From teste select * From testf #2. the Perl script is as follows. The execution results will be placed in the CSV
Can views in Oracle be updated?If I make such a survey on the internet, I think many netizens and friends will answer this question without thinking about it. No, the view is a logical record, not a physical record, in addition, many of my friends
// Start table definition
$ T_data = "zl_t_data ";
$ T_data_class = $ t_data. "_ class ";
$ T_data_keyword = $ t_data. "_ keyword ";
// Define the end of the table
Class odbc_oracle
{
VaR $ host = "php_oracle"; // defines the ODBC Data Source
VaR $
Recently, I began to reorganize my Oracle knowledge and write it out for record and sharing.
1. Install the Oracle server software.
2. Use the DOS interface to connect to the database
Run the following command:
Sqlplus/nolog press ENTERConn
I personally disagree with the insert into select method for large data volumes, and the reality is not, I used the Oracle stored procedure to write the batch Insertion Method of insert into select with a large amount of data. The Code is as follows:
Since Oracle does not have the for win7 version, you must download the for vista_w2k8 version, decompress the Oracle 10g installation image to the hard disk, and then modify the rehost in the installation directory. XML and oraparam. INI
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