It is relatively simple to configure ORACLE data sources in WebSphere
1. Configure JAAS-J2C authentication, that is, the database user name and password.
2. Configuration driver, that is, JDBC providesProgram, You only need to specify the class
-- Delete a table --Drop Table account;
-- Student information table --Create Table student (Stu_id number (10) Not null,Stu_name varchar2 (20) not null,Stu_sex char (5) not null,Stu_birthday date not null,Constraint pk_student primary key (stu_id)
"DatabaseImages"Is used to improve Database Availability.SoftwareSolution.Oracle Database and SQL Server databaseAs two databases that are widely used, the operations on database images are many different. Through comparison, we will find that SQL
There is a special logical volume in Aix called "Page feed space ". The traditional UNIX name of the paging space is "swap zone", and Aix manages it as a logical volume.
When the amount of available memory in the system is reduced to a certain
1. Char
The length of char is fixed, and the maximum length is 2000 bytes.
The Char length is fixed. For example, if you define char (20), even if you insert ABC, less than 20 bytes, the database will automatically add 17 spaces after ABC, to
7. Compare the truncate and delete commands
A: both of them can be used to delete all records in the table. The difference is that truncate is a DDL operation, which moves hwk and does not require rollback segment. Delete is a DML operation,
Both Oracle and SQL Server comply with SQL-92 standards: Compliance:
In Oracle, the table name, field name, stored procedure name, and variable name cannot exceed 30 string lengths.
The top syntax is not supported in Oracle. Use whererownum
1. Processing of null in orderBy default, Oracle considers null as the maximum value in order by. Therefore, if it is ASC, it is placed at the end of the ascending order, and desc is placed at the top of the descending order.Of course, you can also
/* Create a tablespaceCreate a tablespace tbs_01 in 1 MB local management and specify the data file D:/oradata/tbs_01.dbf;View the created tablespace information.*/
Create tablespace tbs_01 datafile 'd:/oradata/tbs_01.dbf 'size 1 m extent management
--- Create a student table ---Create Table student (Stu_no number (10) Not null,Stu_name varchar2 (20) not null,Stu_age number (10) Not null,Constraint pk_student primary key (stu_no) -- set as primary key);--- Insert data ---Insert into
/*View the definition of the salary field in the structure of the HR. Employees table:Desc HR. employees;Press Ctrl + to click*/
/*The variables v_salary_num, v_salary_type, and v_salary_subtype are defined by number, % type, and sub-type
Make the following preparations before installation: 1) read the online documentation carefully to ensure that the current installation environment meets the installation requirements. 2) check whether the server or client is installed. The
The Shared Pool, large pool, Java pool, and cache memory are allocated by setting the allocation unit as the basic unit. When SGA is smaller than 1 GB, the allocation unit size is4 MB. When SGA is larger than 1 GB, the unit size is 16 Mb. The unit
Oracle Database Configuration Error Message
Errors in the oralce database often occur. We see all the wrong code. As to the cause of the error, it is still difficult to answer at half past one, so we sorted out some common errors, it may be
-- Create a table and Set primary key auto-IncrementCreate Table Stu (Uerid number (4) not null primary key,Username varchar (20 ),Userpass varchar (20 ),Email varchar2 (30 ),Grade number (5));Commit;-- Check it.Select * from Stu;-- Create an
Oracle processes null. Simply put, if multiple columns are unique and contain more than one null, Oracle requires columns not null to be unique.However, this method is not used for foreign key processing:SQL> Create Table t_p (ID number, name
The listener was probably handled by the optimization master and found a solution.
When you start the service on the control panel, the following error occurs:Service: The oracleorahome10gtnslistener service cannot be started on the local
Expert one-on-one Oracle is a masterpiece of Oracle expert Thomas Kyte. It has a total of 1329 pages, so it takes a lot of effort to take this note and record the essence.
Oracle expert advanced programming learning notes
I. Preparations1. Create a
1. There are two ways to manage the tablespace that stores data: dictionary management and local management. We recommend that you use local management.
2. When a database user is created, the resource permission allows the user to create database
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.