Attaches a database that's only one data file to the current server. sp_attach_single_file_db can't be used with multiple data files. Don't attach or restore databases from unknown or untrusted ...
The ATTACH DATABASE statement adds another database file to the current connection under a schema name. Once attached, tables in the external database can be queried alongside tables in the main ...