Using query analyzer, name 3 ways you can get an accurate
count of the number of records in a table?
Answer Posted / mahmood
1) Select count(*) from tablename
2) sp_spaceused tablename
3) Select id from sysobjects where name ='tablename'
GO
Select * from sysindexes where id=? ---Put ID no. from
above query
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Can we call stored procedure in trigger?
How to download and install microsoft .net framework version 2.0?
What is merge statement?
Do you know what is lock escalation?
What is dbcc updateusage?
What are data files?
What is the purpose of grouping data in a report?
Is INSTEAD OF trigger directly applicable to Table ?
What is a database in ms sql server?
How to create a trigger for insert only?
How does a profiler work?
What is an example of a foreign key?
How to maintain a fill factor in existing indexes?
Can we install sql server 2016 on windows 7?
Explain the different types of backups available in sql server? : sql server database administration