I’ve seen both versions around. On iSeries DB2 you can use either and as far as I can tell they do the same thing. Is there a difference?
Share
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.
No, there is no difference because DISTINCT is a keyword and not a function call.
It’s the same difference as between
SOME_COLUMNand(SOME_COLUMN)(without any keyword in front)