adspace
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
How do I find the sql server version?
What is clustered index
How raid can influence database performance?
How to rebuild the master database?
What are the source of constraints?
How to convert character strings into numeric values?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
How do I start sql server 2017?
Why should you use or avoid select * statements?
List the ways in which dynamic sql can be executed?
do you know how to configure db2 side of the application? : Sql server database administration
Explain system functions or built-in functions? What are different types of system functions?
Does view occupy space?
If any stored procedure is encrypted, then can we see its definition in activity monitor?
Can we shrink data file in sql server?