Can you use the API connector to interface with SQL ? Then you can leave the whole URL dynamic