Explain CREATE DATABASE syntax?

Answer Posted / rohit bhosale

Create Database [database_name] On Primary

(

Name='abc', Filename='path_of_mdf_file'

)

log on

(
Name='abc_log', Filename='path_of_ldf_file'

)



Eg:


Create database emp on primary

(
name='emp1', filename='d:\sql\emp.mdf'
)
log on

(
name='emp1_log', filename='d:\sql\emp_log.ldf'
)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you best determine why your MVIEW couldn't FAST REFRESH?

1837


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

1986


how can you implement fine-grained auditing?

608


what are the differences of where and if in SAS?

1666


internal architecture

1759






i have 10gp file.now i need store in database..but database have only 7gb memory only..how do u store the file ?

1643


Explain materialized views and how they are used.

1898


how can you enable flashback feature?

540


What are the different ways you can create databases in sql server? : sql server DBA

601


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2395


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

1969


what do you understand by fine-grained auditing?

637


what functionality does oracle provide to secure sensitive information?

560


who owns the operating system files created by the utl_file package?

569


What are the high-availability solutions in sql server and differentiate them briefly? : sql server DBA

604