sql server 2005 - remove time from sql -
Please tell me how I can extract part of time from SQL dates. I have already read articles of 100 and most of them take time but leave 00:00:00, which I do not want, I do not even know that I can convert these zeros into curvature but unfortunately
A datetime column in the database Always will be both a date part and a time part. SQL Server 2008 presents only the dates or types that only store the time, but, as long as the time of the column type date, you have to admit that part of the time is present, and you can do it in your application (suitable formatting By applying) can ignore.
You can add a check barrier in the table to ensure that all the entries in the column are always at the same time part (i.e. 00:00:00).
Comments
Post a Comment