Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I want to write this query in my sql but ı get an error.
Error : Dynamic sql error :Token unknown - line 1, column 29 (

What can I do for this error?


SELECT ID, row_number() over() FROM FORMUL order by ID DESC
Posted

1 solution

Your syntax is wrong. You should use a column for that.

Refer - ROW_NUMBER (Transact-SQL)[^].
 
Share this answer
 
Comments
Member 11776570 15-Oct-20 6:04am    
I am using column inside that but still it is not working in RazorSQL and not in FlameRobin also.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900