Home Forums SQL Server 2012 SQL 2012 - General Error Message with SQL Script RE: Error Message with SQL Script
spaghettidba
SSC Guru
Points: 105732
More actions
September 18, 2014 at 10:26 am
#1746479
ELSE cannot be used that way.
I can only be used in CASE statements.
I guess you need OR here.
What are you trying to achieve with that "ELSE"?
-- Gianluca Sartori