Comments
5 comments
-
Thanks for reporting it!
I can reproduce it with the latest version 9.4.14. By any change do you remember which version was working? -
We've logged this issue as SP-7517 in our internal bug tracking system!
Apologies for the inconvenience caused. -
Hi Tianjiao_Li,
Glad you could reproduce it. The previous version was 8.2.5.2924
Regards,
Lajos Szoke -
Apologies for the delay. This issue was fixed in 9.4.15.8960. Please upgrade.
-
Similar problem is happening to me
With this code:UPDATE [MyTableName]SET OrgName = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM OrgName), Address = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM ADDRESS), City = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM City), State = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM STATE), Country = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM Country), Zip = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM Zip), FirstName = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM FirstName), LastName = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM LastName), Phone = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM Phone), Email = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM Email), JobTitle = TRIM(CHAR(13) + CHAR(10) + CHAR(9) + ' ' FROM JobTitle)
As soon as this is commented out the rest of the code formats fine. I'm positive it's around the new Trim Function and it's parameters. Any help appreciated.
Sql Prompt Version 9.5.9.10716
SSMS Version 15.0.18131.0
SQL Server 2017, 14.0.3048.4 (x64)
Windows Server 2012 R2 Standard 6.3
Add comment
Please sign in to leave a comment.
I get this error:
with the following script:
Just upgraded to the latest v9 release.
Please note that part of the script had previously been formatted successfully with the earlier v8 product.
Win10
SQL Prompt 9.4.13.8478
SSMS v17.9.1
Best Regards,
L Szoke