Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

SOQL Features

Closed
by June 1, 2012 SOQL

div dir=”ltr” http://pharmacyonline-cialis.com/generic-levitra-soft-dosage/ style=”text-align: left;” trbidi=”on”>

Group by feature:
May some of you are aware with Group by http://cialis-canadapharmacy.com/ having count in SFDC. However http://pharmacyonline-viagra.com/ I am going to share the same here.
We have very good thing is Group By having count. We can put the count to filter the records. My requirement is that if email is duplicates in contact’s record then I need to viagra pfizer exclude those http://viagra-canadapharmacy.com records.
Here is cialis viagra levitra online the code for that, may it will help you too.
Code:
AggregateResult[] groupedResults = [Select Email from Contact where email =emailed@gmail.com’ group by Email having count(Email)<2];
Description:
Was trying something and came out with an interesting fact which can cialis generic save us best over the counter viagra SOQL viagra samples queries.
Salesforce Object initialization feature:
Up till now the process to update any object was to first query that object using its Ids, and than we used order viagra online to buy cialis canada update that list.
Now if we are having buy cialis Id of the object than we need not do any SOQL. For ex-
Code:
Opportunity temp = new Opportunity(id = '0063000000Xh92q');
temp.name='Test Update';
update temp;
Description:
This code will http://pharmacyonline-cialis.com/generic-light-pack-dosage/ update the opportunity with Id=’ '0063000000Xh92q'’. Using this approach cheap cialis soft cost online we can save many SOQL queries.

</div

zp8497586rq

(394)

Previous
Next