Another Salesforce blog!!!

Salesforce, Apex

Apex passing string variable within quotes


String query='select column_name from information_schema.COLUMNS 
where table_name =\''+ String.escapeSingleQuotes(selectedValue1)+'\'';

Leave a Reply

Your email address will not be published. Required fields are marked *

*