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

Accepted answer
  1. Viorel 122.6K 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 Answers by the question author, which helps users to know the answer solved the author's problem.