These file names are often changed when refreshed from a different database adn will ensure the name will still follow any standards. This script modifies all dtabase .mdf and .ldf to have a standardized name of DatabaseName_Data and DatabaseName_Log. This can be changed to your company standards.
Case Cleanup Function
Capitalize the first letter of each new word in the string (clean, efficient, and easy to modify).
2008-08-14
326 reads