This article describes how to use ASP to display data records in Oracle.
I. Introduction
Pagination is required when you access a table with a large amount of data through a browser. ASP can display database records by page through the ADO object
Oracle kills the deadlock ProcessFirst, check which tables are locked:Select B. owner, B. object_name, a. session_id, a. locked_modeFrom v $ locked_object a, dba_objects BWhere B. object_id = a. object_id;OWNER OBJECT_NAME SESSION_ID LOCKED_MODE-----
The maximum number of connections in MySQL is 100 by default.Client Logon: mysql-uusername-ppasswordSet the new maximum number of connections to 200: mysql> set GLOBAL max_connections = 200Display the currently running Query: mysql> show
Many of my friends often asked me how to learn Oracle. Here I will post my words in front of Oracle database performance optimization for your reference!Some may ask how to learn Oracle and how to quickly improve it? I have written some of my
This is not about using any programming language to implement this function, but using Shell and MySQL commands in Linux.
Java code
Echo "use test; select * from test order by id desc; "|/usr/local/mysql/bin/mysql-uXXXX-pXXXX --
We have sorted out the most common Oracle commands for Oracle beginners to learn!
1,Create a tablespace:Create tablespace name datafile' file address and file name '[size] [autoextend [on | off];
Note: [size] indicates the size of the tablespace to
If you know more about Oracle databases, it is recommended that you install Oracle databases in linux. Few enterprises will set up Oracle databases on Windows servers and introduce how to install Oracle databases in linux Online, it is rarely
In many cases, we need to terminate all Oracle processes ). When the database is "locked" and you cannot enter Server Manager to terminate the database, you can use the kill command in UNIX to terminate all Oracle processes. This is one of the
Oracle DBLINK
Role: the oracle database logic of servers in different locations is regarded as a database, that is, objects in another remote database can be operated in one database.
Syntax:CREATE [PUBLIC] database link dblink connect to user
This morning, a stored procedure has been written for many times. It can be easily written, reported for various errors, various confusions, and searched on the Internet, I did not mention the ending answer provided on the Forum. Let's take a look
1. Check alert logs
Symptom description:
During routine Oracle maintenance, you often need to check the alert alarm log to check whether the database is faulty.
Cause analysis:
Oracle 11g modified the log system, instead of using oracle9's alert
For those who are new to Oracle, especially those who have previous ms SQL server experience, the most confusing thing is probably the word database and instance.
In fact, these two concepts are quite simple to understand. Let's take an
Oracle contains three parts:
1: Oracle Server: An Oracle Server. Generally, it can be seen as a machine. We can call it a Server. It can also be seen as a set of software running on the server.
It is defined on the official Oracle website as follows:
Today, another colleague encountered an Oracle database bug:
-- This problem exists on all platforms in Oracle 10.1 OR 10.2.
This error occurs when you perform complex multi-table join queries.ORA-00600: Internal error code, parameter: [19004], [], [
In Oracle9i, Oracle provides an internal event to force refresh the Buffer Cache. Its syntax is:
Alter session set events 'immediate trace name flush_cache level 1 ';
Or:
Alter session set events = 'immediate trace name flush_cache ';
Similarly, you
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence numbers need to be sorted.
1. create sequenceFirst, you must have the create sequence
1. Union Operation
Select name from test1
Union [all]
Select name from test2;
When union is used, results are sorted by default, and union all is not sorted, which consumes less resources. However, union all does not perform deduplication ~
2.
Oracle uses user_constraints to obtain the foreign key. For example, to obtain all foreign keys: Select CONSTRAINT_NAME constraint name, TABLE_NAME tableFrom user_constraints t where1 = 1-- T. table_name in ('tbl _ step ')And CONSTRAINT_TYPE =
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