Home Forums SQL Server 2005 Backups Could not locate file 'SAML' for database 'SAML' in sys.database_files RE: Could not locate file 'SAML' for database 'SAML' in sys.database_files

  • No, that's the physical name of the file. You need the logical name for shrink. It's the name column in sys.database_files.

    p.s. Why are you shrinking the log?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass