Remember that PHP supports Oracle connection functions
php.ini files in the configuration, remove; extention = Php_oci8.dll, remove the preceding semicolonYou can restart Apache,If not, we'll copy the Php_oci8.dll in the PHP directory to the system3
Was told that test user was locked on login
1, with the DBA role of the user login, to unlock, set the specific time format in order to view the specific time
Sql> alter session set nls_date_format= ' Yyyy-mm-dd hh24:mi:ss ';
Session
The Oracle tutorial you are looking at is: How Oracle runs the OS command directly (ON).
In Oracle 8i, it is often the case that you want to run the operating system commands in a stored procedure. In general, this is accomplished by using Oracle
First, take a look at SQL Server, before we both select a start time and an end time (in the smallest unit of day) from the foreground user and then query as a condition, if directly through "between StartTime and Endtime" as a condition, Discovery
Nonsense not to say, directly to everyone to write SQL statements, of course, there are many kinds of writing, I also just to share one of the solutions, have different views of the can leave a message oh.
Oracle's password is valid for a period of
Racle uses foreign keys to restrict the referenced field values in the child table, requiring that the data in the child table be present in the primary table. When a foreign key reference unique constraint value changes when the record of the
In the Pl/sql Developer Database management tool, log in with the Scott user account, create a new SQL query window, enter an SQL statement to create the view, and then pop up an error message: ORA-01031: Insufficient permissions.
The error
The Oracle tutorial you are looking at is: Install Oracle load Database error areasqueries resolution.
Note: When installing, make sure that the Oracle installation directory cannot have Chinese characters
(If the "Load Database error Areasqueries"
PHP under the Linux/unix to connect Oracle8 is very easy, but under the Windows platform is not easy, I after a long exploration to find a reliable way, do not dare to enjoy alone,
It is now published for the feast. The author uses the development
The Oracle tutorial you are looking at is the Setup method for PB7 connecting Oracle.
System environment:
1, operating system: Windows 2000
2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition
3,
The use of various control statements in Oracle database is the main content we want to introduce in this article, including some logic control statements, the use of cases, while and for use, and so on, we begin to introduce this part of the
1, the drop table, how to recover
Copy Code code as follows:
CREATE TABLE ETL (ID number);
INSERT into ETL values (1);
Commit
drop table ETL;
If the drop table ETL Purge--no recovery is possible
The following table
Oracle's show Processlist
Copy Code code as follows:
Set Linesize 400;
Set pagesize 400;
Col sql_text format A100;
Col machine format A25;
Col username format A15;
SELECT A.username,a.machine, b.sql_id, B.sql_text
From V$
Delete a large table when the space is not released, very slow because of a large amount of system resources, support fallback operation, space is also occupied by this table.
TRUNCATE TABLE name (frees table space when records are deleted from a
Make a note for reference only
SELECT d.table_name tbname,//table name COALESCE (t.comments, ') Tbdesc,//Table comment A.column_name columnName,//Field name A.data_type Colu Mntype,//field type A.data_length width,//Field length A.data_scale
(1) oracleservicesid
Database service, which automatically starts and stops the database. If a database is installed, its default startup type is automatic. The service process is ORACLE.EXE, parameter file initsid.ora, log file SIDALRT.log,
Using language to achieve
Benefits:
1, can reduce access to the database.
2, good portability.
Harm:
1, the operation to consider more things, modify a place to modify another place. In other words, they are interrelated. If you change a little, it
Type
Meaning
Storage description
Note
CHAR
Fixed-length strings
Max length 2000bytes
VARCHAR2
Variable-length strings ,
Max length 4000bytes
Maximum length of the index can be 749
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