This function and stored procedure can be used to easily identify if a file, directory or parent directory exist.
It wraps the functionality of xp_fileExist but gives easy access to the directory and parent directory exist values.
To use it the function pass in the file or path and either 'IsFile', 'IsDir' or 'HasParentDir' it will return 1 if true.
SP that shows information from a given database
It is used to show information from a database. It shows the creation date, it calculates the time in days, months and hours since its creation and it shows all the users with rights in that database.
2002-01-27
2,169 reads