With out using count() function. How to the find total
number of rows in a table?
Answers were Sorted based on User's Feedback
Answer / subbarayulu neela
select max(rownum) from table-name;
Here rownum is a keyword which can gives unique number for
individual rows.
Is This Answer Correct ? | 35 Yes | 2 No |
Answer / manjunath u
rownum is one of the option, can deal with sequence also
Is This Answer Correct ? | 4 Yes | 2 No |
In a distributed database system, can we execute two queries simultaneously?
ename empno deptno amar 1 10 akbar 2 20 anthonny 3 30 jonathan 4 40 write a procedure to dispaly the column values ina row separated by a deleimiter eg - input - select ename from emp '|' output - amar|akbar|anthony|jonathan input - select empno from emp '@' o/p - 1@2@3@4 input - select deptno from emp '/' o/p - 10/20/30/40 Pls answer this questn.
Give the structure of the function ?
How do I restart sql?
What are the popular database management systems in the it industry?
what is a composite key ? : Sql dba
how would you enter characters as hex numbers? : Sql dba
What is sql and db2?
what is a primary key? : Sql dba
Can we insert in view in sql?
What is the usage of NVL?
7 Answers Infosys, Micro Infotek,
How can I tell if sql is running?