added string sql implementation