SET stringIndex = INSTR(filterText, 'State1') - 8; // what this line is doing??
/* what is following block of code is doing */
Create TEMPORARY TABLE tblGeo
(SELECT Distinct State, District, Code FROM tblStateDistrict WHERE Country = ''India'');
PREPARE stmt FROM @sql;
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)