joeydaly.com #code #afl #tennis

19Apr/110

Passing a nullable/blank field to a WHERE statement

Posted by Joey

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

Posted by Joey

simple script incase you forget:

grant exec on to… Continue reading