Repository navigation
Close : Custom query: please provide a non-destructive SQL statement. #211
|
I tried to copy a field into another one INSERT INTO book (call_number) SELECT deweynumber FROM book BiblioteQ answers me a message "Please provide a non-destructive SQL statement." what am I doing wrong? |
Answered by
textbrowser
Apr 21, 2022
Replies: 4 comments 3 replies
|
That's a destructive statement. Only SELECT queries are allowed. |
2 replies
|
So are updates. Deletes. |
0 replies
|
Yes, non-destructive queries do not modify the state of the database. There are some exceptions. For example, sequences. |
1 reply
|
I will add a little more information to the text. |
0 replies
Answer selected by
textbrowser
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I will add a little more information to the text.