Low-level Access

public const urhandle& handle();
public virtual const std::string& SQL(const = 0;);

The provider offers its native handle for use by the application as a last resort. It can also be very handy to inspect the SQL associated with a particular error, especially when the provider has constructed the SQL from higher-level operations.