Adobe Dreamweaver Forums



Last 10 THreads :         Whats the difference between arrayCollection = null andarrayCollection.removeAll()? (Last Post : atta707 - Replies : 1 - Views : 2 )           »          Unable to create SWC in Flash CS4 (Last Post : ChickenSupreme - Replies : 3 - Views : 8 )           »          Change html page image by the month (Last Post : malcster2 - Replies : 8 - Views : 9 )           »          HELP ON INSETR RECORD php page (Last Post : DerRoteBaron - Replies : 0 - Views : 1 )           »          URLRequest behavior (Last Post : Andrei1 - Replies : 3 - Views : 6 )           »          Trouble with SQL Query Tool on Leopard (Last Post : pdenlinger - Replies : 0 - Views : 1 )           »          Adding database RDS Login Dreamweaver 8 Coldfusion 8 (Last Post : ClubbyJMC2008 - Replies : 2 - Views : 3 )           »          Can't install Fireowrks Extension in CS4 (Last Post : ssailer - Replies : 3 - Views : 27 )           »          Fireworks CS3 or CS4 and Vista 64 bit O.S. (Last Post : ssailer - Replies : 0 - Views : 1 )           »          Newbie- Help with Flash dynamic pop up box (Last Post : Gipoh - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-08-2008, 06:00 PM
weezerboy
 
Posts: n/a
Diggs:
Default Query Of Queries syntax error--DATES

I have a main query that selects all of the needed data including a column of
dates.

But when I query the main query (Q of Q) I get a syntax error because of the
date.

How can I query on the date using Q of Q?

Do I need to format the date differently?



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-08-2008, 06:22 PM
CF_output
 
Posts: n/a
Diggs:
Default Re: Query Of Queries syntax error--DATES

Can you post your error or query?
Reply With Quote
  #3 (permalink)  
Old 10-08-2008, 07:01 PM
Dan Bracuk
 
Posts: n/a
Diggs:
Default Re: Query Of Queries syntax error--DATES

Don't format the date at all for starters. If you are trying to use a cold fusion variable in your q of q, make sure it is a date or datetime object.
Reply With Quote


  #4 (permalink)  
Old 10-08-2008, 11:22 PM
Rick Waugh
 
Posts: n/a
Diggs:
Default Re: Query Of Queries syntax error--DATES

There are syntax restrictions. One thing I have been caught on is having a
database field called 'date'. It's easy enough to get around - in your select,
give a pseudonym for the date field - so instead of 'select date from mytable',
it would be 'select date as theDate from mytable'. Then you would reference the
field as theDate in your query of queries.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk