Troubleshooting of PostgreSQL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 7: | Line 7: | ||
FROM my_table | FROM my_table | ||
LIMIT 0,10 | LIMIT 0,10 | ||
</pre> | |||
Error message | |||
<pre> | |||
Uncaught PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: LIMIT #,# syntax is not supported | |||
HINT: Use separate LIMIT and OFFSET clauses. | |||
</pre> | </pre> | ||
Revision as of 22:57, 11 October 2022
Troubleshooting of PostgreSQL
Syntax error: 7 ERROR: LIMIT #,# syntax is not supported
Query syntax mer error
SELECT * FROM my_table LIMIT 0,10
Error message
Uncaught PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: LIMIT #,# syntax is not supported HINT: Use separate LIMIT and OFFSET clauses.
Correct query syntax
SELECT * FROM my_table LIMIT 10 OFFSET 0
References
ERROR: argument of WHERE must be type boolean, not type integer
Query syntax mer error
SELECT * FROM my_table WHERE 1
Correct query syntax
SELECT * FROM my_table WHERE 1 = 1
or
SELECT * FROM my_table WHERE TRUE
References
The numeric column data all became null after imported
Troubleshooting of Navicat for PostgreSQL
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template