If you only have a data file and do not have a log file, you can use the following command to create the database.
This command will create a log file in the default log file location for the instance.
CREATE DATABASE "DB_NAME" ON (FILENAME = 'FILE_LOCATION') FOR ATTACH_REBUILD_LOG
No comments:
Post a Comment