I’m converting a SQL Server stored procedure to HiveQL.
How can I convert something like:
SELECT * FROM table1 WHERE id NOT IN (7,6,5,4,2,12)
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.
According to the documentation it says you can use
not in:The negated forms can be written as follows:
Are you getting an error when you try your query in the question?
Please try based on the references as well.