How to count the no of records of a table without using
COUNT function?
Answer Posted / suneelkumar
Hi guys..
rownum is virtual column we con't use max(rownum) i t will
give the error unknown colum...
so by using cursor we can count
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the constraints available in sql?
What is time based sql injection?
Can a varchar be a primary key?
How can we make an if statement within a select statement?
what is a database lock ? : Sql dba
How long does it take to learn pl sql?
What is the difference between subquery and correlated query?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
Explain the select statement in sql?
What is an example of translating a date into julian format?
how to shut down the server with 'mysqladmin'? : Sql dba
how does a local variable is defined using t-sql? : Transact sql
Do ddl statements need commit?
How show all rows in sql?
What is foreign key and example?