Comments
Sort by recent activity
I have no idea why code formatting is not working in my post. It looks good while I am editing / comments
I have no idea why code formatting is not working in my post. It looks good while I am editing
fixed with the latest version / comments
fixed with the latest version
Hi @Jessica R . After reboot everything started to work. Thanks / comments
Hi @Jessica R . After reboot everything started to work. Thanks
After install SQL Prompt menu disappeared from VS2017. In SSMS it works well
UPDATE: After updating VS from 15.4.3 to 15.4.4 menu appeared / comments
After install SQL Prompt menu disappeared from VS2017. In SSMS it works well
UPDATE: After updating VS from 15.4.3 to 15.4.4 menu appeared
Strange but I can't reproduce it anymore. Please close this discussion, everything seems to be working / comments
Strange but I can't reproduce it anymore. Please close this discussion, everything seems to be working
Hi David,
after downloading the latest beta version, this problem dissappeared. / comments
Hi David,
after downloading the latest beta version, this problem dissappeared.
Done. Another bug with GROUP BY suggestions. When auto-completing non aggregate columns it did not include "s.dir" : SELECT ProductId ,
COUNT(*) * s.dir AS Qty ,
NULL AS LocationId
FROM dbo.SalesOrder_Product
CROSS APPLY ( SELECT [dbo].[fn_SalesOrderProductQtyChangeSignUnit](@PreviousStatusCode,
@OrderStatusCode) AS dir
) s
WHERE SalesOrderId = @SalesOrderId
AND s.dir IS NOT NULL
GROUP BY ProductId
(120,1): SQL72014: .Net SqlClient Data Provider: Msg 8120, Level 16, State 1, Procedure p_UpdateSalesOrderStatus, Line 28 Column 's.dir' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
David Priddle wrote:
Hi sdks,
If you could put this and any other formatting suggestions you have in our formatting survey, that would be great.
We're working on upgrading the formatter so that it is more powerful and flexible, so having your suggestions would help a lot.
Best regards,
David
/ comments
Done. Another bug with GROUP BY suggestions. When auto-completing non aggregate columns it did not include "s.dir" :SELECT ProductId ,
COUNT(*) * s.dir AS Qty ,
...
Another bug. SHIFT+F5 does not work then there are syntax errors in the window. For example:
SELECT 1
SELECT * FROM
If I just highlight "SELECT 1" I can execute it. However when the cursor is somewhere between "SELECT 1" statement and hit SHIFT+F5 it gives following error: ---------------------------
SQL Prompt - Execute current statement
---------------------------
SQL Prompt was unable to complete this operation.
Problem areas have been highlighted.
---------------------------
OK
---------------------------
/ comments
Another bug. SHIFT+F5 does not work then there are syntax errors in the window. For example:
SELECT 1
SELECT * FROM
If I just highlight "SELECT 1" I can execute it. However when the cursor is som...