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
M

M Peer

@M Peer
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Advice on how to help an 11 year old start programming...
    M M Peer

    Let him first read this book: "How Computer Programming Works" from Daniel Appleman. A great book for children (and mortals who don't understand anything about computing): http://www.apress.com/book/view/9781893115231[^]

    The Lounge game-dev help tutorial question

  • date part of getdate
    M M Peer

    Goodway, First of all I assume you use SQL Server (7.0/2000). If not quit reading. Then, SQL Servers date/time datatype always consists of a date AND a time part. A date without a time component does not exsist is SQL Server. If you insert a date value without a time, for example jan 1, 2004, SQL Server inserts the date as 2004/01/01 00:00:00.000 (for smalldatetime skip the milliseconds). So if you need a date without a time you need to convert a datetime value to a string. You can use the CONVERT-function in SQL (see "CAST and CONVERT" in SQL Books online). Example: SELECT CONVERT (varchar(24), GetDate() , 103); Returns: 01/01/2004 -- Note: the result is a string. Not a datetime value. Good luck

    Database database question
  • Login

  • Don't have an account? Register

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