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
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Need query............. [modified]

Need query............. [modified]

Scheduled Pinned Locked Moved Database
tutorialdatabase
4 Posts 4 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
    Member 3879881
    wrote on last edited by
    #1

    i have two month records in my table........, example: table look like this: id date remarks 1 02/28/2006 test1 2 02/24/2006 test2 3 03/31/2006 test3 4 03/12/2006 test4 5 03/12/2007 test5 if i tell month on "3" and year on "2006" then it want to display..., id=3 & 4 only..............., how to do this one......, plz hlp me...... Regards, Magesh,

    Magi

    H 1 Reply Last reply
    0
    • M Member 3879881

      i have two month records in my table........, example: table look like this: id date remarks 1 02/28/2006 test1 2 02/24/2006 test2 3 03/31/2006 test3 4 03/12/2006 test4 5 03/12/2007 test5 if i tell month on "3" and year on "2006" then it want to display..., id=3 & 4 only..............., how to do this one......, plz hlp me...... Regards, Magesh,

      Magi

      H Offline
      H Offline
      Harini N K
      wrote on last edited by
      #2

      Hi You can filter using Month() and Year() functions. For example: Month(DateColumn) = 3 and Year(DateColumn) = 2006

      Harini

      N 1 Reply Last reply
      0
      • H Harini N K

        Hi You can filter using Month() and Year() functions. For example: Month(DateColumn) = 3 and Year(DateColumn) = 2006

        Harini

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        Can I have your email pls ?


        printf("Navaneeth!!") www.w3hearts.com

        P 1 Reply Last reply
        0
        • N N a v a n e e t h

          Can I have your email pls ?


          printf("Navaneeth!!") www.w3hearts.com

          P Offline
          P Offline
          PlayByTheRules
          wrote on last edited by
          #4

          DooDooo wrote:

          Can I have your email pls ?

          No, you may not have my email. ;P

          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