Shoot okay I did another void with another admin pin and it broke it. Nevermind I fixed it with a comma delimiter
Youâre the best man. This just saved me so much headache. Really appreciate it.
Shoot okay I did another void with another admin pin and it broke it. Nevermind I fixed it with a comma delimiter
Youâre the best man. This just saved me so much headache. Really appreciate it.
May be do you try that with older MS SQL versions than 2016?
The OPENJSON function is available only under compatibility level 130 or higher. If your database compatibility level is lower than 130, SQL Server canât find and run the OPENJSON function.
Good to know for next time I take on an SQL task. I certainly learned a lot.
Thankfully Jesse came to the rescue with 1 line of code to replace 25 lines haha.
I think the âvoidâ saved in S not SN.
Please try so with
AND OState_State = 'Voidâ
also;
AND OState_StateName = âVoidâ is wrong
you need S, not SN âŠso can you get a result with Void.
If you read the posts above the sql was correct. Everything worked fine.
Anyways I got another solution that is much simpler. Thanks for trying though