refact key names sql sys