/ Published in: SQL
These statements convert a date/time field into just a date or a time field
Expand |
Embed | Plain Text
CONVERT(VARCHAR(10), "Enter Date/time field/parameter", "format type") Example: CONVERT(VARCHAR(10), GETDATE(), 101) Formats: "101" selects Date "108" selects Time
You need to login to post a comment.
