http://blog.bossma.cn/database/some-oracle-storing-process/Several common Oracle stored proceduresDate: January 6, 2008/Category: DataBase/ 7,268 views/CommentsBeginner Oracle, learn about Oracle's stored procedures, run a few examples, and make a
Using spool to export data is sometimes a good choice, 70,000 data export needs 10s, note that the need to use @d:/spool.txt call,set Termout off will not take effect does not display to the screen. A semicolon is appended to the SQL statement and
Create a test tableCreate Table test_img ( ID integerprimarykey, name VARCHAR2(+), image blob);Storing picturesImportJava.io.FileInputStream;Importjava.io.FileNotFoundException;Importjava.io.IOException;ImportJava.io.InputStream;ImportJava.
----Create a new service, Pmon will automatically (dynamically) register to Tnslsnr after creation, the service created is not permanent and will be lost after the database restarts.To persist requires the use of ALTER system set service_names= ' xx
A background process is a process that is implicitly executed by an Oracle server. When the routine is started, Oracle not only allocates the SGA, but also starts the background process, and when the routine is closed, Oracle releases not only the
Add several password-related issues to note after upgrading from 10g to 11g:1.11g default start password is case-sensitive, you can set the parameter to Sec_case_sensitive_logon =false Shield2. The 11g password is valid for 180 days by default and
Description: JAVA springmvc+mybatis (Oracle and MySQL) HTML5 new tall background framework1. Support App mobile app (Android and iOS) interface call (JSON interface can be interfaced with other programs)2. New tall Changquan html5+css3.0 development
Modify field Comment sql:COMMENT on COLUMN table name. Field name is ' comment content '; Bulk Modify field comments for all tables, here is the modification of all field attachments that are not annotated: implementation steps: 1. Use SQL to find
Quickly import Oracle data to MySQL using MySQL migration toolkitCome on, start talking nonsense.I recently learned some knowledge of the database, prior to contact with Oracle and MySQL, and recently very popular MongoDB non-relational database, so
Oracle11.2.0.4rac restore to a single instance
I. Back up the original database
run{backup database format '/home/oracle/backup/db_%U_%T.bak';backup current controlfile format '/home/oracle/backup/ctl_%U_%T.bak';backup spfile format
Oracle uses spool to export data
Using spool to export data is sometimes a good choice. It takes 10 s to export 70 thousand pieces of data. Note that you need to use @ d:/spool.txt to call it, set termout off will take effect and will not be
YourSQLDba sets the shared path backup and yoursqldba path backup
YourSQLDba can back up a database to a network path (shared path). This feature is also very flexible and has never been used before. Due to a recent requirement, so I tested
Oracle _ advanced subqueryZookeeper
Oracle _ advanced subquery
① SubqueryA subquery is another SELECT statement nested in an SQL statement.Subquery (internal query) is executed before the master query is executed.Main query (external query) uses the
Oracle11gRAC manually uninstall grid and nodeinstall1. log on to the ORACLE_HOME page of the grid as the root user.
[Root @ db01] # source/home/grid/. bash_profile[Root @ db01] # cd $ ORACLE_HOME/crs/install/
2. Execute the following two scripts
Oracle date computing
The Code is as follows:
select to_number(add_months(trunc(to_date('2014-11-4 11:13:53','yyyy-mm-dd hh24:mi:ss'),'mm'),1) - trunc(to_date('2014-11-4 11:13:53', 'yyyy-mm-dd hh24:mi:ss'),'mm')) daycountfrom dual;select
Oracle _ Common grouping FunctionsZookeeper
Oracle _ Common grouping Functions① Grouping Function1. max (column): calculates the maximum value, which is not required for the data type. Any data type can be used.2. min (column): calculates the
Learn about Oracle and learn how to get started
Unable to log on upon login: No listener program --- start service OracleXETNListener listener unable to identify request service in connection description ---- Restart service OracleServiceXE check
Odp.net connection method, deployment problem summary, odp.net deployment
I. Summary
During C # development, you often need to operate the Oracle database. When deploying a program, you often need to follow the requirements of the system
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