write the Sql query for creating database backup?
Answers were Sorted based on User's Feedback
Answer / gourvendra singh
if you need to take tha backup of the database on ur hard
disk then u can use the following query:
exp userid=system/manager@orcl file=location\abc.dmp full=y
log= abc
| Is This Answer Correct ? | 23 Yes | 4 No |
Answer / k.l.rajesh babu
BACKUP DATABASE DATABASE_NAME TO DISK='C:\BackupDB\DB.bak'
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / suresh
BACKUP DATABASE DATABASE_NAME TO DISK='C:\BackupDB\DB.bak'
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / vikneswaran
SELECT column_name(s)
INTO new_table_name
FROM old_tablename
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / rk
we can do it from user_tables
like
select table_name,tablespace_name from user_tables;
| Is This Answer Correct ? | 5 Yes | 12 No |
Answer / ganesh
create table backup as select * from user_tables;
create table backup1 as select * from user_source;
| Is This Answer Correct ? | 4 Yes | 13 No |
Answer / manojbatra071
create table backuptablename as select * from originaltablename;
| Is This Answer Correct ? | 3 Yes | 13 No |
Can a foreign key be null?
What is sql server and ase?
How can we make an if statement within a select statement?
how to findout the 100th maximum salary
What is the process of copying data from table a to table b?
Is a foreign key always unique?
Why is sql better than hql?
What is intersect?
what is meant by nl2br()? : Sql dba
What is the difference between delete and truncate statement in sql?
select * from emp where sal in(select max(sal) from emp) here there is any limit for in operator how many values accpect ?
What is transaction control language (tcl)?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)