Using query analyzer, name 3 ways you can get an accurate
count of the number of records in a table?
Answer Posted / kumar.t
1. Select Count(EmployeeId) As NoOfRow From Employee
2. Select Count(*) As NoOfRow From Employee
3. Select Count_Big(*) As NoOfRow From Employee
4. Select Rows From SysIndexes Where Id = Object_Id
('Employee') And IndId<2
By
Kumar.T
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
How to provide values to user defined function parameters?
What is log cache in sql server?
What is data modification?
Can you explain full-text query in sql server?
What is the default server name for sql server?
What is a cursor, index in sql?
Explain filtered indexes?
How do I start sql server agent automatically?
Differentiate between SQL and ORACLE joins and write their syntax.
What are the drawbacks of reporting in ssrs?
How to retrieve error messages using mssql_get_last_message()?
Which are the olap features?
What are sql server procedures?
SQL Server Architecture ?
Why normalization is used?