The most common way to merge column values is to write a custom function to do this, and here's another way.
You can use the for XML Path in SQL Server to merge column values, and you can use Wm_concat or Listagg in Oracle.
Prepare data:
Oracle Primary Data types
Overview: The data types supported by various databases are similar, and may differ slightly from the data types in standard SQL languages
Type: VARCHAR2: You can set its length limit when declaring a field. And after
We have recently taken into account the fact that our database-side write stored procedures are used in temporary tables, as we are not yet clear on what the database end is dealing with? Is the same way as SQL Server, there are some problems, and
In the analysis of the relationship between V$tempfile and V$sort_usage, we notice that Oracle's allocation rules and regular data files are not the same for the absolute file number (AFN) of the temporary file.
In fact, the absolute file number of
Workaround:
1. View which profile strategy the user uses
Sql> select Username,profile from Dba_users;
USERNAME profile
------------------ -----------------
Mgmt_view DEFAULT
SYS DEFAULT
SYSTEM DEFAULT
Ekpuser DEFAULT
2. View effective days
1, the use of Oracle user login, connect the database
[Oracle@wuzj ~]$ Sqlplus/nolog
Sql*plus:release 10.2.0.1.0-production on Thu Feb 26 12:06:29 2009
Copyright (c) 1982, +, Oracle. All rights reserved.
Sql> Conn/as SYSDBA
Connected.
View
Get ready:
Confirm objects and statements can be standby supported
Make sure that the rows of the tables in the primary library can be uniquely identified
Environment:
Operating system: RED HAT LINUX ENTERPRISE 5
oracle:11.2.0.1.0
PRIMARY:
ip:
Introduction: Oracle In addition to the graphical way in the Oracle editor to import the export of arts and Sciences file data, you can also import the export database in a command-line manner, and its syntax is as follows:
IMP [username[/password[@
1.1. asm:prcr-1079
The ASM listener startup failed.
The reason for the error:
The Ld_library_path variable was not configured to cause the Oraagent.bin to be unable to locate the library file.
Workaround:
Configure the Ld_library_path variable.
Oracle obtains tablespace file information through query dba_segments table, including table space name, size, etc.?
1
Select Tablespace_name,sum (max_size), sum (bytes) from dba_segments Group by Tablespace_name;
The
Decode function: It can compare an input value to a parameter list in a function, and return a corresponding value based on the input value. The parameter list of a function is a number of sequential pairs of numbers and their corresponding result
A few days ago encountered a problem about Oracle is not equal to the last search for a moment, found the following information, to share with you, need friends can refer to the next
is not equal to the number in Oracle: in Oracle, <> != ~=
This article is a detailed analysis of the implementation of the Oracle Query and deletion job SQL, the need for a friend under the reference
Query and delete duplicate records of SQL statements 1, find redundant records in a table, duplicate
Oracle|window
PHP under the Linux/unix to connect Oracle8 is very easy, but under the Windows platform is not easy, I after a long exploration to find a reliable way, do not dare to enjoy alone,It is now published for the feast.
The author uses the
Oracle is one of the most used databases in the world, and the Active Server Web page (ASP) is a powerful server-side scripting language that is widely used to create dynamic Web pages. Many ASP developers have been considering the possibility of
Oracle| Program | Links The following links are used by the Oracle dedicated to the image link, the value is not high, but very efficient Oracle dedicated ODBC download
Http://otn.oracle.com/software/content.html need to register
Default.asp
-----
Oracle| stored procedure ASP invokes an Oracle stored procedure and returns the result set
Look over the Internet many ASP call Oracle method, but there is no special very direct things, so summed up the things of the last one to come up with a way
oracle| Notes | Stored procedures using Oracle stored procedure notes in C #
1. Invoke stored procedures that contain out/in out type parameters
Stored procedures:
CREATE OR REPLACE PROCEDURE "Site_editsitedataexist"
(id_ number,
Name_
RDA is the short name of the remote diagnostic Agent, the tool Oracle uses to collect and analyze databases, and running the tool does not change any of the parameters of the system, and RDA collects data that is comprehensive and simplifies our day-
In the installation directory, such as: E:oracleora81networkadmin under the use of WordPad or Notepad to open the Tnsname.ora file, the contents of the file may be as follows:TEST. softone.com =(DESCRIPTION =(Address_list =(address = (PROTOCOL = TCP)
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