Date format in SQL Server — fatahrokbi


This post is on how you can reformat the date(+time) that you have into the format that you need. Example: Refer to note. Note: You can also pass the date value that you have by passing it to the query Eg: SELECT convert(datetime, (SELECT date1 FROM t_table WHERE id=1), 103) List of date […]

via Date format in SQL Server — fatahrokbi

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s