My windows batch script calls a sql script in which a user is required to press ENTER during a prompt. This causes the program to pause during execution and wait for user input. Is it possible to preset the ENTER key in the sql script using a command?
My windows batch script calls a sql script in which a user is required
Share
i figured a simple way to do it – Add a blank line in the
sqlscript at the prompt stage. The prompt would then simply take theReturnkey as input and proceeds to the subsequent stages.