where clause to accept null or not null

arkiboys 9,706 Reputation points
2024-01-26T06:43:07.2033333+00:00

Hello, I have created a stored proc which is a sql query with joins and where clause i.e Is there an error in my stored proc User's image

SQL Server | Other
{count} votes

Answer accepted by question author
  1. Viorel 125.8K Reputation points
    2024-01-26T06:59:31.55+00:00

    Try to add LTRIM or TRIM here: ...select trim(value) from string_split....

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.