If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Date Function for query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-28-06, 11:24
freshfitz freshfitz is offline
Registered User
 
Join Date: May 2006
Posts: 20
Date Function for query

I have a sql database that has a program table and a season column which is the year my customers have service 2005, 2004, 2006 and so on

Right now i am using a sql query statement in my .asp page where program.season = '2006' is there any code to say where program.season = current year so in 2007 i won't have to change that line of code
Reply With Quote
  #2 (permalink)  
Old 06-28-06, 12:40
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
These fubctions will help you
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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