DECLARE query1 TEXT; SET query1 = CONCAT('select * from ', _usercode, '_Timeline','where dateCreated=_date and userTo = _usercode and operation = _title;') SET @Sql = query1; PREPARE STMT FROM @Sql; EXECUTE STMT; DEALLOCATE PREPARE STMT;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)