Trim right side of #ToSQL string.
Add MySQL/Postgres Offset.