Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. query on date VIP

query on date VIP

Scheduled Pinned Locked Moved Database
helpdatabase
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msleem
    wrote on last edited by
    #1

    I want to do a query by Select Statement on date BUT the problem that I want to make this query at 5 days before the date in the table. For Ex, I have date 6-1-2006 {with format(dd-MM-yyyy)} THEN, I want when the query works give me a message before 5 days from this date, THAT MEANS the query will give me the message at 1-1-2006. I realy wanna do that, and maney thanks for help...........

    soly

    R C 2 Replies Last reply
    0
    • M msleem

      I want to do a query by Select Statement on date BUT the problem that I want to make this query at 5 days before the date in the table. For Ex, I have date 6-1-2006 {with format(dd-MM-yyyy)} THEN, I want when the query works give me a message before 5 days from this date, THAT MEANS the query will give me the message at 1-1-2006. I realy wanna do that, and maney thanks for help...........

      soly

      R Offline
      R Offline
      Rocky
      wrote on last edited by
      #2

      well I dontknow exactly what ur trying to do but think abt using this now()// the function for todays date if now()+5 = print (or whatever) "hi there"

      1 Reply Last reply
      0
      • M msleem

        I want to do a query by Select Statement on date BUT the problem that I want to make this query at 5 days before the date in the table. For Ex, I have date 6-1-2006 {with format(dd-MM-yyyy)} THEN, I want when the query works give me a message before 5 days from this date, THAT MEANS the query will give me the message at 1-1-2006. I realy wanna do that, and maney thanks for help...........

        soly

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        If you tell us what this is being used for then it might help with the answer. I can think of 2 or 3 ways, but they all have limitations which are acceptable in different scenarios.


        Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups