Today I needed to concatenate a field from multiple rows in SQL Server to get a […]
Last week, I restored a database from backup and was having the following error when trying […]
To get the current date in Sql Server queries and stored procedures, you use the GetDate() […]
There are 2 ways to Convert a string to a UniqueIdentifier (GUID) in SQL Server: SELECT CAST(‘449141d9-86c9-449d-be2c-1f171b4f4567’ as UNIQUEIDENTIFIER) SELECT CONVERT(UNIQUEIDENTIFIER, […]
I needed to remove all the special characters from a field in a particular table in […]
Next is the code to copy database diagrams from one database to another (tested on SQL […]
© 2023 Software Engineer and UX Designer.
Built with ❤️ using WordPress and Ketos Theme.