Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get any result of execute plan message. #202

Open
jimyho-msn opened this issue Dec 14, 2020 · 1 comment
Open

Can not get any result of execute plan message. #202

jimyho-msn opened this issue Dec 14, 2020 · 1 comment

Comments

@jimyho-msn
Copy link

set showplan on
set noexec on
go
select xxxx from yyyy where zzzz
go
set noexec off
set showplan off
go
==========================>>
cmd.CommandText = "set showplan on set noexec on"
cmd.ExecuteNonQuery();

cmd.CommandText = "select xxxx from yyyy where zzzz"
da.fill(SomeDataset); //-- SomeDataset was filled nothing here.

cmd.CommandText = "set showplan off set noexec off"
cmd.ExecuteNonQuery();

@jimyho-msn
Copy link
Author

cmd.CommandText = "set showplan on " + Environment.NewLine + "set noexec on"
cmd.ExecuteNonQuery();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant