LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default Trying to pull the data for current date - Query

Hello Folks,

It is a simple query but I am just stuck. I am trying to pull the data for current day and writing the query below

select *from pop30300 WHERE POPTYPE = 1 and receiptdate = GETDATE() order by poprctnm asc



But it is not correct. Please help. I need the date for today date on daily basis.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Use MS Query to query data within the current work book Steve Kesler Excel Discussion (Misc queries) 0 August 6th 09 05:22 PM
Stock query can't pull more than 10 years of data KathyC Excel Worksheet Functions 4 March 18th 07 12:19 AM
Pull parameter from worksheet for External Data Query to SQL Datab Matt J Excel Discussion (Misc queries) 0 December 7th 06 10:20 PM
How do I enter a date range ie -7 from current date in MS QUERY notsmartenough Excel Discussion (Misc queries) 1 November 11th 05 10:17 PM
Pull Current Month's Data Out of List - Repost Karl Burrows Excel Discussion (Misc queries) 4 May 3rd 05 01:06 AM


All times are GMT +1. The time now is 01:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"