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

INSERT INTO formatting issue with nested SELECT's #31

Open
meekys opened this issue Sep 21, 2017 · 0 comments
Open

INSERT INTO formatting issue with nested SELECT's #31

meekys opened this issue Sep 21, 2017 · 0 comments

Comments

@meekys
Copy link

meekys commented Sep 21, 2017

Source
insert into dbo.ATable
(Col1, Col2)
VALUES (
(SELECT Id FROM Table2),
(SELECT Id FROM Table3)
)

Output
INSERT INTO dbo.ATable (Col1, Col2)
VALUES ((Laan.Sql.Parser.Entities.SelectStatement), (Laan.Sql.Parser.Entities.SelectStatement))

Expected Output
INSERT INTO dbo.ATable (Col1, Col2)
VALUES (
(SELECT Id
FROM Table2),
(SELECT Id
FROM Table3))

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