command statement in string

is it possible to assign the whole statement to a variable string, then execute it?


Dim insertSQL As String insertSQL = "INSERT INTO " + tableName + "(Name, Coach, City) VALUES (?, ?, ?)" Dim ps As SQLitePreparedStatement var = "db.SQLExecute(teamName, coachName, cityName)" execute var

I am thinking of possibility to create a flexible SQLEXECUTE statement that can hold undetermine number of field