VB-SQL Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jayachandra
    New Member
    • Mar 2007
    • 49

    #1

    VB-SQL Server

    Hi every body,

    I am new to SQL Server.

    I need help. How can I save the date in SQL Server through VB 6? While designing the database, the available data types are Datetime, shortdata like. Is there any alternate way to save in "D/MM/YYYY" format?

    Please reply anybody.
    Last edited by Killer42; Oct 21 '07, 09:30 AM.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly post what you have tried so far. How are you trying to save the date.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Databases generally store a date/time as a numeric value which you can format any way you want when you retrieve it. If you want to explicitly store a date in "D/MM/YYYY" format, just use a text field. Don't know what they're called in SQL Server though - perhaps Char?

      Comment

      Working...