temporary variable for sql