So much for directly to Tristram.

Anyways try the below and then just alias them as another name to reference
in your CF code

select [product#] as productnumber, [item#] as itemnumber
from whatever


<cfoutput>
     #productnumber# #itemnumber#
</cfoutput>


CC




Casey C Cook/TMG/CSC@CSC on 07/10/2001 02:26:59 PM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk <[EMAIL PROTECTED]>
cc:
Subject:  RE: Column names containing a # sign


Sometimes it takes forever for my e-mails to show up on cf-talk so Im
forwarding this to you directly.

Casey Cook
---------------------- Forwarded by Casey C Cook/TMG/CSC on 07/10/2001
02:23 PM ---------------------------


Casey C Cook/TMG/CSC
07/10/2001 02:22 PM

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: Column names containing a # sign  (Document link: Casey C
      Cook)

Try:

select [product#], [item#]
from whatever

Casey Cook



"Tristram Charnley" <[EMAIL PROTECTED]> on 07/10/2001
02:09:08 PM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk <[EMAIL PROTECTED]>
cc:
Subject:  RE: Column names containing a # sign


I already tried double ## signs and aliasing - it doesn't work.
I get the very strange error:

Syntax error in date in query expression.

There's no date type field anywhere in the table



Tristram Charnley
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to