I have write a query inside an Expression (select e.email_id from email e where e.email_id=@email_id) for column (email_id ) to fetch email_id dynamically.
Can anyone suggest me if the above code is correct for write where condition inside a column Expression?
Need help !
Regards,
Sujit
Best answer by Erwin Ekkel
I'm not sure what you are trying to accomplish, can you explain what you want to show on the screen? You already have the email_id so I don't see the added value of the expression column. To answer your question you have to use t1.email_id instead of the variable. You can read more on this and see an example
I'm not sure what you are trying to accomplish, can you explain what you want to show on the screen? You already have the email_id so I don't see the added value of the expression column. To answer your question you have to use t1.email_id instead of the variable. You can read more on this and see an example
My apologies, I accidentally marked Erwin's answer as the best answer, thus solving the topic 😓. @sujit : Feel free to ignore this and continue the discussion if Erwin's answer is not sufficient to solve your question !
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.