The background: My new entry company less than two months, our project using the Tomcat Profile link Project WebApp, while the Tomcat management data source (that is, in the Tomcat directory Conf\catalina\localhost configuration project path and
Oracle database-Data for the Monday date
SELECT * from Tab_kaijiang_info t where To_char (to_date (t.kj_date, ' yyyy-mm-dd '), ' D ') =1 and t.cz_id=2 order by t.kj_date Desc
Note: tab_kaijiang_info: For lottery information table
To_date
In the http://stackoverflow.com/questions/277744/jdbc-oracle-arrayindexoutofboundsexception to find such a sentence:
In Oracle Metalink (Oracle's support Site-note ID 736273.1) I found that's a bug in JDBC adapter (version 10.2.0.0 .0 to 11.1.0.7.0)
In the Chinese application Management system, the UTF8 format replaces the GB2312 database storage more and more is set to the default format, this kind of internationalized coding format has brought the great benefit in the resolution text format
Recent Oracle upgrades, from Oracle8 to Oracle9i, have encountered a lot of trouble.The first is the uninstall problem. Because Oracle8 did not use the normal uninstall method, the installation of the oracle9i is difficult. The correct uninstall
Topic:
5. You are performing a blocks media recovery on the TOOLS01.DBF data file in the
SALES database using RMAN. Which Two statements are correct in this
scenario? (Choose two.)
A. You must ensure so the SALES database is mounted or open.
B. You
1. From http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.htmlDownload a few compression packs, extract to a directory, d:/oracleclient
Instantclient-basic-win32-10.1.0.2.zip: This is the core package.Instantclient-jdbc-
Bulk change methods for table and indexed table spaces in Oracle1, query the current user of all the tables
Select ' ALTER TABLE ' | | table_name | | ' Move tablespace tablespacename; ' From User_all_tables;
Select ' ALTER TABLE ' | | table_name |
Nested cursor loops Create or replace procedure xh_number_186_diff_p is begin declare   in Oracle stored procedures ; -Query out a set www.2cto.com CURSOR c_number is SELECT Numbe r186, money186 from xh_number_186
Oracle database is favored by more and more enterprises because of its high reliability, security and compatibility. How to keep Oracle databases in good performance is a concern for many database administrators and may be considered in the
Guide:
I haven't seen much of Oracle's technical documentation for a long time, and today I read an Oracle Response time optimization and method R. This is the classic book of Optimizing Oracle Performance Classics. The main idea. R represents
Oracle namespace Source: http://hi.baidu.com/yinyuman/blog/item/ac65da2a785ae526d42af1cf.html
Don't know if you have noticed such a problem in the course of learning, when you create a table named Test. Maybe a few days later, when you do an index
Use of the--oracle trunc () function
/************** Date ********************/
1.select trunc (sysdate) from dual--2011-3-18 today's date is 2011-3-18
2.select trunc (sysdate, ' mm ') from dual--2011-3-1 returns the first day of the month.
3.select
Executes the sh of the stored procedure. /oracle/.bash_profile/oracle/bin/sqlplus qd/qd@info
Timed execution of stored procedures using timersView Timer:
Crontab-l
CRONTAB-E Edit Timer
I insert a new: w! Save: q! Exit
The contents are as
1. Specifying scope at set and reset is preceded by a specified SID parameter, otherwise an error occurs.
Sql> Show parameter open_cursors;
NAME TYPE VALUE------------------------------------ ----------- ------------------------------Open_cursors
Turn from: http://xo-tobacoo.iteye.com/blog/182791
Summarized below. Using the merge is much faster than the traditional judgment before choosing to insert or update. 1) Main functionProvides conditional updating and inserting of data into a
Today, the database hang to solve a problem. Log also nothing wrong, with Sqlplus '/as sysdba ' landed in after has been stuck in where, is very depressed.
Forced to land Sqlplus,
$sqlplus-prelim/as SYSDBA
If you can query the SQL statement, you can
The data block db_block_size size of the Oracle database determines the size of the smallest block of data in the database, and you can set your own block size if you do not want to use the default block size when creating the table space.
Specific
+++10gr2
If the host name is modified and the corresponding information is not changed, the database will be/etc/hosts when it is shut down and started.
[Oracle@oracle ~]$ Sqlplus/as SYSDBA
Sql*plus:release 10.2.0.1.0-production on Sun APR 6 19:1
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