• Rohit Kumar Verma
  • NEWBIE
  • 50 Points
  • Member since 2012

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 7
    Replies

Hi,

 

I have written this query i am getting "unexpected token: ="

 

accounts = Database.query(baseQuery +'WHERE Name ='+ABC+ 'AND Industry = \'BIG\'' +' limit '+pageSize);

 

What the error.How to resolve it.

 

Thanks,

Bujji

  • October 03, 2012
  • Like
  • 0

Hi..All

can we retrive  Job ID from CronTrigger?,

if yes then please tell me how we can retrieve it...

 

Thanks,

Akshay

I have written a trigger to update a date/time field called Last_Stage_Change__c by system.now().

In the test class I used:

 

system.assertEquals(system.now(), obj.Last_Stage_Change__c);

 

Am getting an error msg saying

Expected: 10/4/2012 12:28:36pm, Actual: 10/4/2012 12:28:37pm.

 

 

That is the difference between Expected and Actual is one second.

 

What to do?

Hi,

 

I have written this query i am getting "unexpected token: ="

 

accounts = Database.query(baseQuery +'WHERE Name ='+ABC+ 'AND Industry = \'BIG\'' +' limit '+pageSize);

 

What the error.How to resolve it.

 

Thanks,

Bujji

  • October 03, 2012
  • Like
  • 0

Hi..All

can we retrive  Job ID from CronTrigger?,

if yes then please tell me how we can retrieve it...

 

Thanks,

Akshay

I have written a batchclass to execute 600k records.It taking so much time.

Is there any way to increase batch limit from 200 to 1000 records?

 

 

Looking for your valuable replies