abt date

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kracker1407
    New Member
    • Jul 2007
    • 1

    #1

    abt date

    how to split date in sql.???
    and use the split function
  • dafodil
    Contributor
    • Jul 2007
    • 389

    #2
    Originally posted by kracker1407
    how to split date in sql.???
    and use the split function
    Its easier to split the date using a development language.

    You can easily retrieve the date (if the date is stored in the database) and store it in a variable then you can use the string functions of that development language to split it.

    Comment

    • mwasif
      Recognized Expert Contributor
      • Jul 2006
      • 802

      #3
      You can use DATE_FORMAT() to get the required part of the date.

      Comment

      Working...