ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:concat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
v5:reference:connection:concat [2016/01/18 02:13] – [Usage] mnewnhamv5:reference:connection:concat [2016/01/29 21:34] (current) mnewnham
Line 7: Line 7:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The function ''concat()'' takes an variable list of strings, and returns a database-specific string of concatenated values. It is important to recognize the difference between concatenating a database field or a string whn using the method in an SQL statement+The function ''concat()'' takes an variable list of strings, and returns a database-specific string of concatenated values. It is important to recognize the difference between concatenating a database field or a string when using the method in an SQL statement
 ------------------------------- -------------------------------
 ===== Usage ===== ===== Usage =====
Line 17: Line 17:
  
 /* /*
- * Returns: CONCAT(VOGON,POETRY,READING);+ * Returns: CONCAT(VOGON,POETRY,READING) 
 + * assuming that they are database columns
 */ */
 </code> </code>
v5/reference/connection/concat.txt · Last modified: 2016/01/29 21:34 by mnewnham