SSRS 中@timestamp变量的格式是什么?



我需要编写一个例程,该例程将找到由SQL Server Reporting Services发布的最新报告。我知道文件名,它将包含@timestamp变量,但我找不到它的格式,客户还没有提供任何测试文件。你知道它是int还是datetime等等吗?

微软并没有在文档中提到它:https://learn.microsoft.com/en-us/sql/reporting-services/subscriptions/file-share-delivery-in-reporting-services?view=sql-server-ver16#bkmk_file_options

@timestamp订阅变量是yyyy_MM_dd_HHmmss格式的,您可以从本示例教程中看到:https://www.techbrothersit.com/2014/07/ssrs-how-to-create-ssrs-report-with.html

最新更新