Feb
28
2010
Generate filename (Name_Date_Time.txt) for a report with Transact-SQL in Microsoft SQL Server
Category: IT, MS SQL Server Tags: SSIS, Transact-SQL Comments: 0My ex-colleague asked me how to insert query result in a variable for generate report in Microsoft SQL Server. After few explanations I noticed that she has decided to use SSIS (SQL Server Integration Services) to automate. She sent me an example in which she uses YEAR(), MONTH() and DAY() functions.