ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 11-28-2006, 02:52 PM   #1 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,016
Default help in sql query

hello all,
CAn u help me in the query, that returns certain fields between 2 dates?
thanks
__________________
TechNoloGy ConTrols tHe World
AnD I conTroL the TecHnOl0gy
Gue$s WhO @m i.
HehEhehee :confused:
houssam_ballout is offline   Reply With Quote


Old 11-28-2006, 02:55 PM   #2 (permalink)
Diamond Member
 
codeman0013's Avatar
 
Join Date: Jul 2006
Location: Inside my network at work
Age: 23
Posts: 1,468
Default

Yea thats a pretty simple one what are the names of the tables and fields and what do you want to return...
codeman0013 is offline   Reply With Quote
Old 11-28-2006, 03:02 PM   #3 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,016
Default

Table -> order
fields -> name, count
I have tried this
select name, count from order where orderDate between '26/11/2006' and '28/11/2006'
but it is returning 0 fields.....
any help
__________________
TechNoloGy ConTrols tHe World
AnD I conTroL the TecHnOl0gy
Gue$s WhO @m i.
HehEhehee :confused:
houssam_ballout is offline   Reply With Quote
Old 11-28-2006, 03:17 PM   #4 (permalink)
Diamond Member
 
codeman0013's Avatar
 
Join Date: Jul 2006
Location: Inside my network at work
Age: 23
Posts: 1,468
Default

This is a stupid question but you do have orderDate as a field right? Also you need to pull the order date somehow too..
codeman0013 is offline   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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL query results again dragon2309 Internet Discussion 16 01-13-2006 08:47 PM
Reverse SQL query results dragon2309 Internet Discussion 5 12-30-2005 04:04 PM
sql server? houssam_ballout General Software 1 11-26-2005 04:54 PM
SQL Server 2000 dansilva General Software 3 04-14-2005 12:04 PM
embedded sql with C help..segmentation fault? loserpunkx182 General Software 0 12-08-2004 01:59 AM


All times are GMT +1. The time now is 03:39 AM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum