2

Some sequences were created because of the error described here. To keep everything clean I tried to delete them with the command DROP SEQUENCE seqname;. It produces me the following message:

Error code -1, SQL state 42X01: Syntax error: Encountered "" at line 1, column 20. Line 1, column 1 Execution finished after 0 s, 1 error(s) occurred.

I guess it is because I work on Windows machine which has different EOF marker. But how to solve the problem in SQL?

asked Oct 2, 2014 at 9:01

1 Answer 1

3

After several trials the solution is DROP SEQUENCE sequence_name RESTRICT which was found here. Adding RESTRICT to the SQL statement solves the problem

answered Oct 2, 2014 at 9:14
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.