<cfscript> myQuery=QueryNew("Country,Capital City,Amount##","varchar,varchar,numeric"); /*Add array values in column*/ myAreaValues=ArrayNew(1); myAreaValues[1]=100000; myAreaValues[2]=50000; myQuery.addColumn("Area","integer",myAreaValues); WriteDump(myQuery); </cfscript>
No comments:
Post a Comment