public static bool TruncateTable(string dbAlias, string tableName) { string sqlStatement = string.Format(\"TRUNCATE TABLE {0}\", tableName); return ExecuteNo
If you can't use parameterized queries (and you should) ... a simple replace of all instances of ' with '' should work.
string sqlStatement = string.Format("TRUNCATE TABLE {0}", tableName.Replace("'", "''"));