Oracle lpad functions:
Copyright Notice: Mark the reprinted object with a hyperlinkArticleOriginal Source and author information andThis statementHttp://soysky.blogbus.com/logs/43623642.html
The Oracle lpad function fills the string on the left
Sqlldr is not detailed here.
I usually write data to Oracle and suddenly think of MySQL? Is there any plug-in similar to sqlldr?
I did not find the plug-in, but the MySQL operation is relatively simple. Just import the file directly on the
Comments are now accepted and recognized by everyone. Third-party plug-ins are provided in all programming ides to support the extraction of comments.Quickly understand the structure functions. However, in writing database scripts, I also
The syntax for implementing update Association update in SQL Server and Oracle is different. You can use inline view (embedded view)In general, sqlserver is simpler. The test example is as follows:
Create Table tmp_a(Cpcode varchar2 (10 ),Sb_ym
■ Xinmei, Ningbo Electric Power Bureau
Database Backup is the premise and basis for data recovery. If there is no data backup, it will be difficult to recover in the event of database problems or disasters. Common Oracle Database faults include
I. Oracle case
1. Oracle instancesSystem global area (SGA) and background process are used as database instances.
2. Oracle DatabaseA collection of physical files (data files, control files, online logs, parameter files, etc)
3. system global area
Document directory
Stored Procedure
Stored Procedure creation Syntax:
Stored Procedure
1 create or replace procedure stored procedure name
2 is
3 begin
4 null;
5 end;
Row 1:
Create or replace procedure is an SQL statement that notifies the
Assume that there are two database servers, db_a and db_ B,When user user_a under db_a needs to use database link to access data of user_ B under db_ B, perform the following steps:
1. First, the user user_ B must have the select permission.
2.
Commit and rollback in Oracle
Commit means to confirm the submission. For example, if you use the test account to log on to the database and insert a record to the table without commit, other accounts will not be able to query your insert record
Oracle series: getting started with Oracle
1. What is Oracle?1. Oracle is an object relational database management system (ordbms );2. Based on the Client/Server (C/S) system structure, it is an interface between the user and the database.The client
In init. ora contains db_name, instance_name, and service_name. in the operating system, you must configure oracle_sid in listener. ora contains SID_NAME, GLOBAL_DBNAME, in tnsname. there are so many SERVICE_NAME and SID in ora that you are confused.
C: \ imp-help
Import: Release 9.2.0.1.0-Production on Friday July 4 10:18:55 2008
Copyright (c) 1982,200 2, oracle Corporation. All rights reserved.
You can enter the IMP command and your username/password.Command followed by user
The interface developer reports that many duplicate data are in the user permission table. Then I deleted the table data Delete mode and modified the corresponding stored procedure so that the table data is not duplicated!
Later, we found that the
Note:1. When Oracle8.1.6 is installed in WIN2000 to create a database, a credential retrieval failure error often occurs. This is because Oracle cannot apply OS authentication results. You can modify sqlnet. AUTHENTICATION _ SERVICES in SQLNET. ora
In a project, system stability and high availability must be achieved according to user requirements. In the original solution, dual-machine hot backup is planned.
At the beginning of the solution, it would be so troublesome and too optimistic that
How to Learn: Oracle SQL learning path (4): Analyzing function statistics (2) Preface
I have written several blog posts about analysis functions.
However, I have always been not satisfied with what I wrote, and I cannot tell where the problem is.
Today, I learned how to remove spaces from strings in oracle. Here is a summary. Two methods are available: Trim function and Replace function. I will introduce these two methods in detail below. I hope you can add them to your questions.
The Trim
A few days ago, Oracle 10 Gb was installed on RedHat AS 4.1. It was always reported during database creation:ORA-12154: TNS: cocould not resolve service name. I don't know why, so I went to the Internet to search for solutions. For every possible
---- When we use a database, we always hope that the content of the database is reliable and correct. However, due to computer system faults (including machine faults, media faults, and misoperations ), databases may also be damaged, so it is
Today, I accidentally discovered an Oracle parameter query command show parameter, which can be used for Fuzzy queries. For example, if I want to query parameters that contain db _, I can use:
Code highlighting produced by Actipro CodeHighlighter
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.