[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World


Definition - What does Concatenation mean?

Concatenation, in the context of databases, refers to the joining together two or more things into a large one. In database parlance, the things being joined are generally two table fields which may be from the same or different tables.

Techopedia explains Concatenation

The most common use of concatenation is to join two database fields that are stored separately but usually operated upon together. Take for example to fields named ‘FIRST NAME’ and ‘SURNAME’. These two fields are sometimes as two stored separate fields, but when retrieving them the viewer will usually want to see both names.

Concatenation is achieved by use of a special concatenation operator in a SQL query. For example, Oracle Database uses the || operator to join two strings. A sample SQL query to achieve this is:

SELECT first_name||’ ‘||surname FROM customer_master.

Note that in this case we have also included a space (enclosed by ‘ ‘) between the two names. This is simply to enhance the legibility of the final output. If we just joined the two fields without a space in between the query would be:

SELECT first_name||surname FROM customer_master.
This definition was written in the context of Databases

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.