Skip to content

SQL Convert Date Functions and Formats

'In this article, we will explore various SQL Convert Date formats to use in writing SQL queries.

We need to work with date type data in SQL. It can be a complicated thing to deal with, at times, for SQL Server developers. Suppose you have a Product table with a column timestamp. It creates a timestamp for each customer order. You might face the following issues with it

  • You fail to insert data in the Product table because the application tries to insert data in a different date format

  • Suppose you have data in a table in format YYYY-MM-DD hh:mm: ss. You have a daily Sales report, and in that, you want data group by date. You want to have data in the report in format YYYY-MM-DD

We do face many such scenarios when we do not have date format as per our requirement. We cannot change table properties to satisfy each requirement. In this case, we need to use the built-in-functions in SQL Server to give the required date format.'...

https://www.sqlshack.com/sql-convert-date-functions-and-formats/

Difference Between Azure Data Studio and SQL Server Management Studio

'Earlier I blogged about SQL SERVER – Getting Started with Azure Data Studio. After reading the blog post, I receive an email from a reader asking about the primary difference between Azure Data Studio (ADS) and SQL Server Management Studio (SSMS). Well, before we start the conversation let us see the following image.

SQL SERVER - Difference Between Azure Data Studio and SQL Server Management Studio adsssms '...

https://blog.sqlauthority.com/2019/04/15/sql-server-difference-between-azure-data-studio-and-sql-server-management-studio/