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

Handle dataselection in .sql scripts #9

Closed
max-ieremenko opened this issue Apr 2, 2021 · 1 comment
Closed

Handle dataselection in .sql scripts #9

max-ieremenko opened this issue Apr 2, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@max-ieremenko
Copy link
Owner

example scripts.sql

CREATE TABLE dbo.Demo(Id INT, Name NVARCHAR(20))
GO

INSERT INTO dbo.Demo VALUES(1, 'name 1')
INSERT INTO dbo.Demo VALUES(2, 'name 2')
GO

PRINT 'dbo.Demo content'
SELECT * FROM dbo.Demo

run script

$ SqlDatabase execute|create|upgrade -from=c:\Scripts\script.sql ...

Expectation is to see in the log output values, provided by "SELECT * FROM dbo.Demo"

dbo.Demo content // already supported
1, name 1
2, name 2
@max-ieremenko max-ieremenko added the enhancement New feature or request label Apr 2, 2021
@max-ieremenko max-ieremenko added this to the 2.3.0 milestone Apr 2, 2021
@max-ieremenko
Copy link
Owner Author

released in version 2.3.0

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

No branches or pull requests

1 participant