March
March

Reputation: 635

ASP execute stored procedure with Null

In asp.net can use dbnull.value to send Null value to db. How to use in ASP?

Thanks a lot!!

Upvotes: 0

Views: 1022

Answers (1)

Simon Forrest
Simon Forrest

Reputation: 2327

In ASP, you need to use the keyword NULL as the null value for the stored procedure.

Note: don't use vbNull as this evaluates to 1 rather than null.

Upvotes: 2

Related Questions