+ Start a Discussion
Arun KArun K 

count number of records in same object.

how to count number of records in same object.

I require a way to count no of records in same custom object.

 

 

Can anyone say what is the best way to get it.

 

thanks

Anoop AsokAnoop Asok

Hi,

SOQL for getting the record count: [select count() from <sObject> where <conditions>]

 

Thanks,

Anoop

Teach_me_howTeach_me_how

Database.countquery