-
-
-
TRUNCATE TABLE EMP;,DELETE FROM EMP;, Will the outputs of the above two commands?
Both will result in deleting all the rows in the table EMP.Answered by Scott on 2005-05-12 10:31:58: The difference is that the TRUNCATE call cannot be rolled back and all memory space for that table is released back to the server. TRUNCATE is much faster than DELETE and in both cases only the table data is removed, not the table structure.
-
-
-
-
Inserting the image
How can I insert an image into oracle database?
-
What is Dual table?
What is dual table which is used as a table in sql...
-
-
DROP command and VIEW
How does dropping a table affects its view?
-
-
-
-
Size of parameter
what is the size of parameter that we passed in sql query
-
LOB Segment
What do you mean by LOB segment? Explain LOB segment
-
Remove redundant rows
How to remove redundant rows without any distinct columns in the table itself ?
-
INSERT Statement Optimization
A script is inserting data into one table, it was taking 15 min to complete before. Today it is taking more than 2 hours. What kind of action you will take?
-
HAVING Clause
Given a SELECT statement that has a GROUP BY clause.The HAVING clause uses the same syntax as which other clause?A. WHEREB. UNIONC. SUBQUERYD. ORDER BY
-
Employee Query question
Suppose im having employee table with fields, eno, ename, dept, address1, address2, address3. In address field employee can fill only address1 or address2 or address3... at a time he can fill three address fields. now i want all employee names who filled only one address field..
Inner join and Outer join
What is the difference between inner join and outer join?
Ans