Skip to main content

Hi All,

I am trying to delete a row based on a condition using Database Command in Automation Anywhere. Below is my code:

DELETE FROM [outstanding alert$$] WHERE [Status] = 'PB_RM Investigation';

 

I am getting error “This may be due to the following reason: - There is a syntactical error in the SQL statement. - SQL statement got timed out. “

Appreciate your help on this. Thank You.

 

 

Hi @bahayamaricar.cantal ,

 

Try the query without -;- symbol. 

 

 


I tried removing that ; symbol still it is giving error - syntacticalsyntactical error


Delete query does not work in Excel As Database


Hi @bahayamaricar.cantal 

Delete Query will not work when you are connecting Excel as DB. You can try with macros to get it done.


Reply