Adobe Dreamweaver Forums



Last 10 THreads :         x and y into Latitude and longitdue (Last Post : Ayush.Jain - Replies : 10 - Views : 11 )           »          Site Map problem (Last Post : Kcheval - Replies : 0 - Views : 1 )           »          Image icons disappear when CPD is deleted (Last Post : Peter Grainge - Replies : 1 - Views : 2 )           »          FMS3 Linux and virtual host (Last Post : RussianMedved - Replies : 0 - Views : 1 )           »          Flash Media Server 2.0 (Last Post : Ajay P - Replies : 3 - Views : 13 )           »          Advanced datagrid using Remote Objects (Last Post : rkcy - Replies : 0 - Views : 1 )           »          Unable to create SWC in Flash CS4 (Last Post : ChickenSupreme - Replies : 0 - Views : 1 )           »          Extension Manager CS4 not installing extensions inDreamweaver CS4 (Last Post : Tom Dupre - Replies : 16 - Views : 17 )           »          Upsized Access DB not playing friendly (Last Post : Dooza - Replies : 1 - Views : 2 )           »          FLV won't work (Last Post : mixmasterdsr04 - Replies : 0 - Views : 1 )           »         


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
  #11 (permalink)  
Old 10-01-2008, 04:00 AM
PopcornCoder
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

DayOfWeek(Right(ct_time, 10)) gets the date part of the timestamp, the way I
have it is hh:mm YYYY/DD/MM.

I do dump the numbers to see I have a table on my page that shows the numbers
like this

Sun: 4
Mon: 24
Tue: 26
Wed: 22
Thu: 38
Fri: 28
Sat: 8

Total: 150

Reply With Quote
Sponsored Links
  #12 (permalink)  
Old 10-01-2008, 04:00 AM
PopcornCoder
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

DayOfWeek(Right(ct_time, 10)) gets the date part of the timestamp, the way I
have it is hh:mm YYYY/DD/MM.

I do dump the numbers to see I have a table on my page that shows the numbers
like this

Sun: 4
Mon: 24
Tue: 26
Wed: 22
Thu: 38
Fri: 28
Sat: 8

Total: 150

Reply With Quote


  #13 (permalink)  
Old 10-01-2008, 04:00 AM
-==cfSearching==-
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

What is the data type of the "ct_time" column?

PopcornCoder wrote:
> I do dump the numbers


No, dump the actual query objects:

<cfdump var="#DuringBusinessHours#">
.... etc...
Reply With Quote
  #14 (permalink)  
Old 10-01-2008, 04:00 AM
-==cfSearching==-
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

> Varchar and what does the cfdump do?

Generally, dates and time values should be stored in datetime columns, not
varchar.

> what does the cfdump do


It is a useful debugging tool. In this case it will display the actual results
of the query. Not just the totals.
http://livedocs.adobe.com/coldfusion...s/00000239.htm



Reply With Quote
  #15 (permalink)  
Old 10-01-2008, 04:00 AM
-==cfSearching==-
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

> Varchar and what does the cfdump do?

Generally, dates and time values should be stored in datetime columns, not
varchar.

> what does the cfdump do


It is a useful debugging tool. In this case it will display the actual results
of the query. Not just the totals.
http://livedocs.adobe.com/coldfusion...s/00000239.htm



Reply With Quote


  #16 (permalink)  
Old 10-01-2008, 04:00 AM
PopcornCoder
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

DId that and no dice on anything different there

Reply With Quote
  #17 (permalink)  
Old 10-01-2008, 04:00 AM
PopcornCoder
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

DId that and no dice on anything different there

Reply With Quote
  #18 (permalink)  
Old 10-01-2008, 04:00 AM
-==cfSearching==-
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

Since I cannot see the results, I do not have much else to suggest.
Reply With Quote


  #19 (permalink)  
Old 10-01-2008, 04:00 AM
-==cfSearching==-
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

Since I cannot see the results, I do not have much else to suggest.
Reply With Quote
  #20 (permalink)  
Old 10-01-2008, 04:00 AM
PopcornCoder
 
Posts: n/a
Diggs:
Default Re: RecordCount for Queries Off - Please help.

How can I compare the 2 cfdumps to eachother to find the missing ones?
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 09:39 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