M
martin
When I execute Scalar and it finds no data,it
cannot be trapped. Function with scalar returns nothing
instead of value in catch statement.
cannot be trapped. Function with scalar returns nothing
instead of value in catch statement.
Kieran Benton said:You need to check if the ExecuteScalar returns null. I dont think it with
throw an exception if its just as simple as a query not returning a value.
Hope this helps
Kieran