-- Create Function Type create type strcat_type as object (cat_string varchar2 (4000), -- set the initialization of the custom aggregate function. From here, a Aggregate Function static function odciaggresponinitialize (cs_ctx in out strcat_type) is
During data correction today, I wrote a batch of simple update statements. The results showed a problem in sqlplus execution, prompting me to enter the value of the corresponding parameter?
The original SQL statement is: Update trans_record set
1. Forget the logon password of a user except sys and system.Log On As A sys (or system) user.
Conn sys/pass_word as sysdba;
Use the following statement to modify the user password.
Alter user user_name identified by newpass;
Note: The
Export data to an Excel file: select the data table -- query data -- select the data to be exported -- Right-click Copy to excel to import data to the database: 1. Prepare the data to be imported in Excel. Specific Operation: In Excel, set the first
In-depth research on the materialized view (mview) of Oracle 4
Now, when you move a base table in the first article, you will find that you cannot refresh the table quickly. You must refresh all the tables as follows:
SQL> ALTER TABLE
1. Data Dictionary:The system information of the database is recorded. It is a set of read-only tables and views. All users of the data dictionary are sys users. You can only execute the SELECT statement on the data dictionary, and the maintenance
Address: http://hi.baidu.com/duxing/blog/item/08ade7cd78a9335e0fb345e2.html
Question 1: How to display comment options in a table during powerdesigner DesignRight-click an edited table and choose Properties> Columns> customize columns and filter (or
The service starts background processes, which are similar to the daemon process in UNIX. When the Oracle Database Service is started, no typical Oracle process is running in the system. On the contrary, the service process waits for the initial
The concept of scan (single client access name) is introduced in the Oracle 11g RAC cluster, that is, the single client access name of the cluster. Scan provides a single host name for the client to access the Oracle database running in the cluster.
The Oracle monitoring index feature allows us to roughly determine whether an index is used. This is because the index is monitored when statistics are collected in Oracle 10 Gb, which is not produced by SQL statements. In the case of 11g, there is
Obtain the table's primary key column name SQLSelect * From user_cons_columns
Where constraint_name = (select constraint_name from user_constraints
Where table_name = 'bst _ favorite 'and constraint_type = 'P ');
Remember: The table name must be in
Oracle databases have three standard backup methods: Export/Import (exp/IMP), hot backup, and cold backup. Exporting spare parts is a logical backup, while cold backup and hot backup are physical backup.
1. Export/import (export/import)
The export
Oracle's default xml db sets the default http port to 8080, which is a very common port. Many other webservers use this port, so we need to modify it. Three methods:1. Dbca, select your database, and then select standard database features->
Small Example of calling Oracle stored procedure in JSP
* Execute an insert statement and pass the parameter */Create or replace procedure p_test2 (I in number)BeginInsert into T values (I, 'x' | to_char (I ));Commit;End;/
AAA BBB String driver
Oracle MySQL DB2 SQL paging Oracle
, MySQL
, DB2
, SQL
, Pagination
Oracle
Select * from (select rownum, name from user_tables where rownum
Where rownum> startindex
If order is added, it will be more
In Windows, how does one completely uninstall the Oracle database?
A: The procedure is as follows:
1. log on to the NT administrator;
2. Stop all Oracle services through the control panel> service;
3. Open the Registry (Regedit command) and delete
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4
Ing between object and database column property types:
Oracle column type
Entity column type
Entity Java type
1. Table Name and column name naming rules
(1). It must start with a letter;
(2). The length cannot exceed 30 characters;
(3) Oracle reserved words cannot be used;
(4). can only use the following characters A-Z, A-Z, 0-9, $, # and so on.
2. Data
Pro * C has three common dynamic SQL technologies:
It is used to process dynamic SQL statements that do not contain host variables and cannot be used for select statements.
It is used to process the dynamic SQL statements with the number and type
The types of Oracle Data Dictionary views are: User, all, and DBA.
User _ *: Information about objects owned by users, that is, information about objects created by users
All _ *: Information about objects accessible to users, that is, information
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