<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>QUOTEDVALUELIST</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">QUOTEDVALUELIST</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Gets the values of each record returned from an executed query. ColdFusion does not evaluate the arguments. 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Returns</span>
<p>
A delimited list of the values of each record returned from an executed query. Each value is enclosed in single-quotation marks.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Query functions, List functions
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Function syntax</span><pre>QuotedValueList(query.column [, delimiter ])
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
ValueList
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Parameters</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;!--- use the contents of one query to create another dynamically ---&gt;
&lt;cfset List = &quot;&#39;BIOL&#39;, &#39;CHEM&#39;&quot;&gt;
&lt;!--- first, get the department IDs in our list ---&gt;
&lt;cfquery name = &quot;GetDepartments&quot; datasource = &quot;cfdocexamples&quot;&gt;
SELECT Dept_ID FROM Departments
WHERE Dept_ID IN (#PreserveSingleQuotes(List)#)
&lt;/cfquery&gt;

&lt;!--- now, select the courses for that department based on the
quotedValueList produced from our previous query ---&gt;
&lt;cfquery name = &quot;GetCourseList&quot; datasource = &quot;cfdocexamples&quot;&gt;
SELECT *
FROM CourseList
WHERE Dept_ID IN (&#39;#GetDepartments.Dept_ID#&#39;)
&lt;/cfquery&gt;

&lt;!--- now, output the results ---&gt;

List the course numbers that are in BIOL and CHEM (uses semicolon (;) as the 
delimiter):&lt;br&gt;
&lt;cfoutput&gt;
#QuotedValueList(GetCourseList.CorNumber,&quot;;&quot;)#&lt;br&gt; 
&lt;/cfoutput&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="QUERY.COLUMN">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">QUERY.COLUMN</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>


<p>Name of an executed query and column. Separate query name and column name with a period.</p>

  </td>
  </tr>
  </table>
</div>
<div id="DELIMITER">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DELIMITER</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>


<p>A string or a variable that contains one. Character(s) that separate column data.</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
