sql query to get zero records from a table having n no of
records
Answer Posted / ketul
Select * From Table_Name Where 1 = 2;
| Is This Answer Correct ? | 46 Yes | 4 No |
Post New Answer View All Answers
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
differentiate between float and double. : Sql dba
What are all the ddl commands?
Why use triggers in sql?
How do you delete data from a table?
What does where 1 1 mean in sql?
Are stored procedures faster than dynamic sql?
How do I run a script in sql developer?
Is primary key is clustered index?
what is normalization? : Sql dba
What is difference between inner join and self join?
What is mutating error?
Determine if oracle date is on a weekend?
What is nvarchar in sql?
How to get unique records from a table?