【问题标题】:tsql get the time stamp of files in a folder without using xp_cmdshelltsql 在不使用 xp_cmdshell 的情况下获取文件夹中文件的时间戳
【发布时间】:2013-08-09 14:33:21
【问题描述】:

由于安全原因,我不能使用 xp_cmdshell。有没有其他方法可以在不使用 xp_cmdshell 的情况下获取文件夹中文件的时间戳?

谢谢!

【问题讨论】:

    标签: sql tsql timestamp xp-cmdshell


    【解决方案1】:

    这些人创建了一个 CLR 来替换旧的 xp_getfiledetails。 http://consultingblogs.emc.com/jamiethomson/archive/2006/08/24/4400.aspx

    我还没有安装它,但它应该是你开始的地方。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-10-27
    • 2020-01-18
    • 1970-01-01
    • 1970-01-01
    • 2017-03-17
    • 1970-01-01
    • 2015-08-06
    • 1970-01-01
    相关资源
    最近更新 更多