KnotKnick
03/23/2022, 2:52 PMSELECT * from COUNT(id) AS i FROM SubscriptionLineRevision WHERE ROWNUM <= 50;
I get the following error:
{
"type": "<https://www.w3.org/Protocols/rfc2616/rfc2616sec10.html#sec10.4.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Invalid search query. Detailed unprocessed description follows. Search error occurred: Invalid or unsupported search.",
"o:errorQueryParam": "q",
"o:errorCode": "INVALID_PARAMETER"
}
]
}
But when I change ROWNUM
to ROWNUM <= 40
, the query seems to work fine.
What is the cause of this issue when I try to get more than 40 rows?jen
03/23/2022, 3:09 PMSEELCT
?KnotKnick
03/23/2022, 3:22 PMGeorge McMullen
03/23/2022, 10:44 PMSELECT * from COUNT(id) AS i FROM
? Perhaps you just want SELECT *
and don’t want COUNT(id) AS i
?George McMullen
03/23/2022, 10:46 PMSELECT *
. I think I had found something similar with result column that was too long. Perhaps there is a row that is returning a column that is too long.KnotKnick
03/24/2022, 2:01 PM