Oracle connection string reported error ORA-01722: solution to invalid numbers, the following function, used to find a string similar to create or replace function f_GetUsers (key in varchar2,
P_cursor out pkg_test.myrctype)
Return number is
1. Select the most efficient table name order
The SQL parser processes the table names in the FROM clause in the order FROM right to left. If the FROM clause contains multiple tables, you must select a table with the least number of records as the
First look at the table content
Select name, pass from t1;
2.
Method 1: Use the decode Function
Select name, decode (pass, 'passs111', 'pass1', 'pass222', 'pass1', '', 'Password') from t1;
Note: If you do not list the possible conditions in the
This article does not compare Oracle Spatial with ST_Geometry. For details about the comparison, refer to: here, the data structure and performance comparison are clearly described.
In fact, this document shows that OracleSpatial in ArcGIS is
When Oracle 10g is installed in Linux and EM is enabled, garbled buttons are displayed as follows:
I found the reason on the Internet. It turns out that when Oracle is installed for 10 Gb, JDK/JRE automatically selects the character set, in the $
During Oracle data restoration today, we found that the restored data is incorrect and there are repeated records. Query the relevant information and learn that the user corresponding to the database should be deleted before restoration, then create
After configuring nodes in Specify Cluster Configuration, click next:
The specified nodes are not clusterable
INFO: Query Returned:
Null
This is because ssh is not properly configured for trusted authentication: Although trusted authentication
My database (asm storage) is upgraded from 11.1 to 11.2.
This function must be upgraded to 11.2 only when the delay section is created today.
Check whether my instance's compatible is 11.1.0.0.0. Naturally, I think of alter systerm set compatible =
Starting from 10 Gb, Oracle began to provide Shrink commands. If our tablespace supports automatic segment space management (ASSM), we can use this feature to narrow down the segment, that is, reduce the HWM. Here we need to emphasize that this new 1
Here is a test of rman backup and recovery:
The database is in the mount status and cannot be connected by other users:SQL> select status from v $ instance;
STATUS------------MOUNTED
SQL> conn scott/OracleERROR:ORA-01033: ORACLE initialization or
Oracle-view, sequence and Index
Goal: Learn to use view sequences and indexes!
I. View:
A) create a view:
Create ViewView nameAsSQL statement;
Extended: When you need to change the column name-- Create view name (column name 1, column name 2,...
1. imp user name/password @ Database Name (SID) file = "dmp file path" fromuser = User Name (from which user to export) touser = to which user example to import:
Imp public_hmis/public_hmis @ rldm file = d: \ hmis. dmp log = d: \ hmis. log fromuer =
Version
Linux: RedHat 5.6
Oracle: 1, 10.2
Preparations before installation
1. Modify the operating system version. Before oracle is installed, it will verify the operating system version. If you do not know the version, it cannot be installed.
Technical aspects
1. Data Structure
MongoDB uses document-based storage. Its data structure is similar to the BSON structure of JSON. Cassandra supports key-value storage, and each key-value stores a period of time, this time period actually plays
This is because em cannot find the corresponding font file when generating the button image.
Solution:
In the Oracle user environment
1. Apply the default font configuration file
Cd $ ORACLE_HOME/jdk/jre/lib/
Cp font. properties. zh_CN.RedHat
SQL> conn sys/xin as sysdbaConnected.SQL> set wrap offSQL> set linesize 1001. Some basic operations(1) view the tablespace:SQL> select * from v $ tablespace;(2) view data files:SQL> select * from v $ datafile;(3) view the ing between tablespace and
Recently, Spring and Hibernate were used in the project for development. Thanks to Criteria, the query method design allows you to flexibly assemble query conditions according to the features of Criteria. Now we will summarize the usage of Hibernate
The following describes the sequence and trigger used to create a table using the Oracle Client. We will record their usage: The sequence is created and the trigger is used to implement auto-increment of the table's primary key.
First, create a
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