sql script join domain - initial commit exchange script