Problems and workarounds: SQL and data movement