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

Import-StoredProcedure should be aliased to Import-SProxy and return [ScriptBlock]s #23

Open
StartAutomating opened this issue Mar 25, 2023 · 1 comment
Assignees

Comments

@StartAutomating
Copy link
Owner

The alias helps for colloquial use.
Returning [ScriptBlock]s helps for transpilation.

@StartAutomating StartAutomating self-assigned this Mar 25, 2023
StartAutomating pushed a commit that referenced this issue Apr 2, 2023
Aliasing to Import-Sproxy and returning [ScriptBlock] (#23),  allowing a verb anywhere in a sprocname, adding -Rename (#29)
@bryanbcook
Copy link

Do you have an example where Import-StoredProcedure is used? I looked at the example in the Pipeworks-Phoenix branch and it looks like you're creating a script block that defines a Function. How do you import that into a session to execute it?

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

No branches or pull requests

2 participants