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

SQL command log is not executable #67

Closed
krk opened this issue May 29, 2014 · 3 comments
Closed

SQL command log is not executable #67

krk opened this issue May 29, 2014 · 3 comments

Comments

@krk
Copy link

krk commented May 29, 2014

Variable declarations have a single '@' whereas EXEC statement uses variable names with two at signs.

DECLARE @retval int;

EXEC @@retval = sp_Get
SELECT @@retval AS ReturnValue;
@yellis
Copy link
Member

yellis commented May 29, 2014

@SeriousM can you replicate this? Looking at the SqlFormatterTests that you set up, this shouldn't be happening, right?

@SeriousM
Copy link
Contributor

Ah I see. I will add some more unit tests to cover the trim of Parameters tomorrow, ok?

@yellis
Copy link
Member

yellis commented Jun 1, 2014

This was addressed in #69

@yellis yellis closed this as completed Jun 1, 2014
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

3 participants