Relative Content

Tag Archive for sqlsql-serversql-server-2016

Update all column names to be lowercase

I need to rename all columns in SQL Server tables to lowercase. I came up with the code below; however, there’s something wrong with the select statement. If I run that by itself, it doesn’t return any columns with uppercase characters.

Update all column names to be lowercase

I need to rename all columns in SQL Server tables to lowercase. I came up with the code below; however, there’s something wrong with the select statement. If I run that by itself, it doesn’t return any columns with uppercase characters.

Update all column names to be lowercase

I need to rename all columns in SQL Server tables to lowercase. I came up with the code below; however, there’s something wrong with the select statement. If I run that by itself, it doesn’t return any columns with uppercase characters.

Date as a string when exported to CSV

Can anyone help convert a Date in SQL Server 2016 to a string format, ‘January 2024’? When I use the various methods below, the data in the CSV file still shows 01/0/2024.