is there a command I can put at the end of my SQL script to exit itself once it is completed?
even better, Is there a way for it to run in the background where the prompt screen is not in the way of the user(either in the background or at least minimized)?
im running a script using task scheduler and ideally, I don't want the prompt screen to be visible.