|
Hi - I'd like to offer my users of a SQLPage site a page called "query.sql" which would allow them to type in some arbitrary SQL (understanding that it will be "unsafe") in a form and when the form is submitted it would execute the query they provided and return the results as a table. If there's an example that already exists it seems my feeble search attempts have not been able to find it. |
Answered by
lovasoa
Jan 10, 2024
Replies: 1 comment
|
Hello !
|
0 replies
Answer selected by
shah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello !
There is no such feature built into SQLPage itself, but you can use your database's own dynamic sql evaluation function to implement that:
see https://www.databasestar.com/dynamic-sql/