Assuming you have already set up the global profile, this should work:
Code:
/run SexyMap2DB[UnitName("player").."-"..GetRealmName()] = "global"; ReloadUI()
Though I have no idea why SexyMap is butchering the profile system that way instead of working like every other addon.
Alternatively, you could just use Reflux's "emulate profiles" feature to save the whole
SexyMap2DB saved variables table. You'd probably still need to reload the UI afterwards, though, since SexyMap doesn't appear to have any code to support switching profiles on the fly.
Another option you might want to consider would be to use another minimap addon.