Home Forums SQL Server 2005 SQL Server Newbies If Statement RE: If Statement
crazy_new
SSCarpal Tunnel
Points: 4804
More actions
January 28, 2014 at 3:21 am
#1683839
Just below that I set the value.
SET @ADR3 = (SELECT ADR3
FROM PAT_NAMES_ADDRESS
WHERE ADR1 = @ADDRESS)
SET @ADDRESS = 'M & B Pumps Division'