Search
Submit a request
Sign in
How can we help you today?
Categories
Submit a request
Submit a request
Sign in
Support
Community
SQL Prompt
SQL Window functions cause error when formatting code
New post
for example:
SELECT @LibraryID
, c.CategoryNameLTID
, ROW_NUMBER() OVER (ORDER BY ID) AS Row
, @UserID
, @DateTime
FROM BestPracticeLibrary.Categories AS c;
perfectly valid SQL, but SQL Prompt does not like it.
Ted Williamson
May 23, 2016 13:37
-
0
+
Comments
2 comments
Sort by
Date
Votes
No problem here with 7.1.0.306
(Replaced the variables by constants though)
SELECT
1 ,
c.CategoryNameLTID ,
ROW_NUMBER() OVER (ORDER BY ID) AS Row ,
2 ,
3
FROM
BestPracticeLibrary.Categories AS c;
buckley
May 24, 2016 04:07
-
0
+
doh, I guess it does help to have to latest version. thnx
a_ted_w
May 24, 2016 11:17
-
0
+
Add comment
Please
sign in
to leave a comment.
SELECT @LibraryID
, c.CategoryNameLTID
, ROW_NUMBER() OVER (ORDER BY ID) AS Row
, @UserID
, @DateTime
FROM BestPracticeLibrary.Categories AS c;
perfectly valid SQL, but SQL Prompt does not like it.