Current location: Hot Scripts Forums » Programming Languages » ASP » SQL Query Sting Help


SQL Query Sting Help

Reply
  #1 (permalink)  
Old 10-04-04, 06:59 AM
ksroadrunner13 ksroadrunner13 is offline
Newbie Coder
 
Join Date: Mar 2004
Location: Wichita, Ks
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
SQL Query Sting Help

I have a database running on an SQL server. I have a table in that database named "EventLog". For each event in the event log there is a time/date stamp field called "OpenTimeDate" that consists of a full time and date "MM/DD/YY HH:MM:SS AM" and I'm trying to find a query string that will effectively pull all the records for the last 7 days according to that field. I had one that worked beautifully in Access, but as soon as I upgraded to SQL the query string quit working right. Any help would be GREAT!!!

If you require any more info, please let me know.

Thanks!!!
Reply With Quote
  #2 (permalink)  
Old 10-17-04, 02:56 PM
koncept
Guest
 
Posts: n/a
if your still using the access database, goto the sql view of the query and copy the code from there to your page
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
You have an error in your SQL syntax. Help! SevEre PHP 7 09-08-04 05:05 AM
1 3 5 4, SQL SELECT, each # another SQL eq1987 PHP 4 07-05-04 07:03 PM
Help with ASP & FORMS blessedrub ASP 0 01-23-04 10:22 AM
ASP Calendar..HELP...pls jimthepict ASP 1 07-31-03 05:01 PM
change my field in this example sal21 ASP 3 07-14-03 02:49 AM


All times are GMT -5. The time now is 03:06 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.