Can we create an sql function with the name of a built in derby function?
For example, I need to create a function that replaces SUBSTR.
I am working with the Derby Embedded database and I need to do this with that.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SUBSTR is a built in function and a reserved keyword in derby.
You won’t be able to replace that out of the box. Derby doesn’t support functions with the same name and different method signatures.
You could download the sources, change the relevant function definition and compile your own version of derby.