Accidentally i deleted my table. How can i get that table?
Answer Posted / ravi
In this case data only deleted but table structure is there.
so can flashback the the data.
example:-
delete * from emp;
ans:- insert into emp select * from emp as of timestamp
sysdate -3/1440;
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is a scheduled job or what is a scheduled task?
What is dbcc? Give few examples.
How do I save a stored procedure in sql server?
How to generate create view script on an existing view?
What do you mean by normalisation?
What are subquery and its properties?
How to view existing indexes on an given table using sys.indexes?
How to create new table with "create table" statements?
What are the main differences between #temp tables and @table variables and which one is preferred?
Can an entity have two primary keys?
How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?
What is the difference between dbcc indexdefrag and dbcc reindex?
when would you go for denormalization? : Sql server database administration
Can we write trigger for view?
Why should we go for stored procedures? Why not direct queries?