quotedValueList

Gets the values of each record returned from an executed query.
CFML does not evaluate the arguments

quotedValueList(column [, delimiter]) → returns String

Argument Reference for the quotedValueList function

column

Required: Yes

delimiter

Required: No
Default: ,
Values:
  • ,
  • |
  • ;
  • chr(9)
  • chr(10)
  • chr(13)

Examples sample code invoking the quotedValueList function


Tag Example

<cfquery name = "GetCourseList" datasource = "cfdocexamples"> 
 SELECT * 
 FROM CourseList 
 WHERE Dept_ID IN ('#GetDepartments.Dept_ID#') 
 </cfquery> 
 <cfoutput> 
 #quotedValueList(GetCourseList.CorNumber,";")# 
 </cfoutput> 

Fork me on GitHub