Different format results cmd vs. Visual Studio
gerry123
Posts: 2 New member
in SQL Prompt
Hi,
I format a bunch of files in a folder with
SqlPrompt.Format.CommandLine.exe --i-agree-to-the-eula -p <folder> -s "Default" -n -is -ac
If I do a format in VS with every sql prompt setting = default I get a slightly different result in the comments:
Tagged:
Answers
I noticed this wasn't addressed yet. Can I ask if you are still having the issue?
Yes:
Formated in MSMS:
Formated with SqlPrompt.Format.CommandLine.exe:
sqlprompt: 10.14.21.9884
SqlPrompt.Format.CommandLine.exe: 10.12.6.30951
demo sql:
Now I see there are two versions Version of SqlPrompt.Format.CommandLine.exe, one in
"c:\Program Files (x86)\Red Gate\SQL Prompt 10\"
and one in "c:\Program Files (x86)\Red Gate\SQL Prompt 10\FormatCommandLine". I always used the second one (I think I exctracted it once from a zip). If I use the version directly in "c:\Program Files (x86)\Red Gate\SQL Prompt 10\" the problem is gone.
Sorry, my fault...
Greeetings
Gerhard
PS: Maybe this is not true for the latest versions?