JamesDover Posted April 15, 2008 Share Posted April 15, 2008 (edited) I am connecting to a sql server via osql.exe and when i run a stdoutread for output then run a kill command the stdoutread doesn't refresh. Is it possible to refresh a stdoutread? Or is there a way to close a stdoutread with processexists and reopen it? Cheers Edited April 15, 2008 by JamesDover Link to comment Share on other sites More sharing options...
Richard Robertson Posted April 15, 2008 Share Posted April 15, 2008 What do you mean by refresh? If there is nothing to read, you can't force a program to output more. Link to comment Share on other sites More sharing options...
JamesDover Posted April 15, 2008 Author Share Posted April 15, 2008 Like for instance my osql.exe produces rows of names and I run a -kill command on one of the names and under the stdoutread it doesn't update the name i deleted with -kill. Link to comment Share on other sites More sharing options...
flyingboz Posted April 15, 2008 Share Posted April 15, 2008 (edited) [sample code start] [sample code end] *insert your data in the appropriate spot... Edited April 15, 2008 by flyingboz Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now