Recently encountered a strange Oracle problem:There is a table in the Oracle database. When querying the column of the varchar2 type in the table, normal results are always not found. If you query other types of columns, normal results can be
ReferenceArticleHTTP://Blog.itpub.net/Post/33454/395121HTTP://Www. ADP-GmbH. ch/Blog/2005/May/27. Html
Define a plan (executed every day)
Call dbms_scheduler.create_schedule ('Back_up_indonesiaprod2', Sysdate,'Freq = daily', To_date ('2013-03-
9: replace in with exists.Important
Case: Search for the dept_1 Department employee name
9. 1 SQL statement
-- Subquery Select Pname From T_person Where Deptid In ( Select Deptid From T_department Where Deptname Like ' Dept_1 ' ); --
Field name
Hr_employee.activity
Original Field Type
Number (1)
New Field Type
Varchar2 (10)
Modify Scheme
/* modify the original field name */ alter table hr_employee rename column activity to activity_temp; /* Add a field with
Eg: Related parsing: Table t_pi_part field ID code namevalue 1 222 avalue 2 222 bvalue 3 333 C add a row mark to the part code with the same code and sort select P by ID. *, row_number () over (partition by P. code Order order by. id DESC) as
The arcsde10 of ArcGIS suddenly fails to connect to Oracle and prompts an error:
After querying Google, the solution is as follows:
1 View the user's proifle, which is generally default: SQL > Select username, profile from dba_users; 2
Oracle cannot log on IN NORMAL STATE
Today, I encountered a problem. Suddenly, Oracle failed to log in with the System user in the normal state, but sysdba was able to log in. The reasons are as follows:
1. Oracle DBA groups are related to the
This article is transferred from:
Http://dusong.blog.51cto.com/158065/139284
Oracle permission settings
I. Permission classification:
System permission: The system specifies the user's permission to use the database. (System permissions
In Windows, it is usually:
D: \ oracle \ product \ 10.2.0 \ db_1 \ Network \ admin
But is this version installed in Linux? Isn't it possible to only use the client? ,,
We can useRpm-IVH Linux-1.4-6.i368.Rpm command InstallationThis
The following are some considerations for converting MySQL to Oracle.
1. Automatically increasing data type ProcessingMySQL has a data type that increases automatically. When you insert a record, you do not need to operate on this field. The
In ms SQL Server, I am used to writing SQL statements. I suddenly need to write SQL statements in Oracle. To tell the truth, there is no big difference in principle. However, some functions in Oracle are not used unless I understand them, sometimes
1.To the specified user(Tecamocmsuser)Authorize (CtxappAndExecute on ctx_ddl)
Grant ctxapp to tecamocmsuser;
Grant execute on ctx_ddlTecamocmsuser;
2Create Word Segmentation
Ctx_ddl.create_preference ('My_lexer','Chinese_vgram_
Use cursor to update data in Oracle
Declare cursor cur is select * from test for update;Idnum number;R test % rowtype;BeginIdnum: = 0;Open cur;LoopFetch cur into R;Exit when cur % notfound;Idnum: = idnum + 1;Update Test Set ID = idnum where current
In Oracle, you can create scheduled tasks like SQL Server.
Next I will use oracle SQL to create a scheduled task.
1. Create a simple table.
Create Table testdate
(
Name varchar2 (20 ),
Createdate date
)
2. Create a stored procedure.
Installing oracle in Linux is an annoying thing. It is not as simple as in windows, but windows is really not in the server field. A good DBA is also a Linux master. Today I am tossing Oracle, And I will record the installation process for my
Several files and parameters that need to be modified during Oracle installation:
/Etc/security/limits. conf
Nproc: Number of processes that can be enabled
Nofile: number of files that can be enabled
/Etc/PAM. d/login:
# Add for install
In the Oracle-MSSQL Convert tips (1) I already mentioned several tips that used very often.
Today's project contains too much views, stored procedures and trigger and the lines of these code are big.
So I try to find some tools to validate the
--Full import and export of databases in Oracle: cmd command line mode thanks to clown _ shipping time: Source: tutorial
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export
1. When multiple tables are combined, an error "Character Set mismatch" is returned when the nvarchar2 type is encountered"
A: Add to_char (variable or field of nvarchar) to the place where nvarchar is used)
2. When multiple tables are union, the
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