Skip to content

MySQL Cant get Rank() function to work #531

Answered by lovasoa
ttoorree asked this question in Q&A
Discussion options

You must be logged in to vote

@ttoorree : I confirm this is a bug with how SQLPage handles MySQL values of type BIGINT SIGNED, such as the result of the rank function.

The bug will be fixed in the next version.

In the meantime, you can use

SELECT 
  CAST(Rank() OVER (order by result.elapsed_time asc) AS CHAR) as 'Rank',
  ...

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@ttoorree
Comment options

@lovasoa
Comment options

@ttoorree
Comment options

@alexisrc1
Comment options

@lovasoa
Comment options

Answer selected by ttoorree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working sql Topic related to SQL, not specific to SQLPage mysql MySQL-specific issues
3 participants