19Apr/110
Passing a nullable/blank field to a WHERE statement
I’ve used this piece of code in many places lately to check if a field is nullable or blank – used mainly as a default value.
AND
(
@ResultType = ” OR
@ResultType ” AND ResultType IN(@ResultType)
)… Continue reading
5Apr/110
grant execute for a stored proc to application role
simple script incase you forget:
grant exec on to… Continue reading
