You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlk...@googlegroups.com
Hello,
I am having trouble generating the following query:
SELECT SQL_CALC_FOUND_ROWS `my_table`.* FROM `my_table` LIMIT 10;
The problem is SQL_CALC_FOUND_ROWS. If i add it to the query via fields fn a comma is appended after it which causes mysql syntax error. If you noticed the quoted query above, it does not have one.
Is there a way to generate the above query or a suggested work around?
Thank you for your time
Jonathan
Jonathan M.
unread,
May 31, 2013, 12:48:11 PM5/31/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlk...@googlegroups.com
...OR if that's not possible someone to share with me how you can get an affected rows count :)
Jonathan M.
unread,
May 31, 2013, 12:56:43 PM5/31/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlk...@googlegroups.com
It seems it was right in front of my nose. You need to use the modifier fn :)