Posts by Denis de Souza Ontag • 26 points
1 post
-
1
votes1
answer141
viewsA: Data to string conversion in SQL SERVER
First to catch the current year use YEAR(GETDATE()); And to concatenate the year, which is an integer with a string, you need to convert the year to scan. The whole code would look like this: SELECT…
sqlanswered Denis de Souza Ontag 26