Open manika-khare opened 1 year ago
@manika-khare Can you please share the definition of the (or a reproduction example) stored procedure so we can play with this ourselves? Does the query work when you execute it manually via another database client?
Same here. This only occurs when using SQL Server.
Bug description
I am trying to call a stored procedure using prisma's queryRaw. The stored procedure accepts a parameter of type unqiueidentifier which can be null. It works fine when the param has some value, but it fails when null is passed.
It throws the following error:
How to reproduce
Expected behavior
It should run fine even when null is passed, as the stored procedure allows null.
Prisma information
Environment & setup
Prisma Version