|
|
posted on April 21, 2010 04:54
Within a stored procedure use an IF STATEMENT to check a parameter for a NULL VALUE
if( @CustomFieldID is null)
begin
print 'NULL VALUE - SKIP IT'
end
else
begin
print 'PARAMETER HAS VALUE'
end
There are currently no comments, be the first to post one!