Home Forums SQL Server 2005 Business Intelligence Variable - Expression Builder RE: Variable - Expression Builder
Newbie36037
SSChasing Mays
Points: 654
More actions
July 14, 2015 at 3:49 am
#1812245
I've sorted it. I originally tried to use 'REPLACE' but couldn't get the syntax right, so I used SUBSTRING instead,
SUBSTRING( @Yesterday, 1, 4 ) + SUBSTRING( @Yesterday, 6, 2 ) +SUBSTRING( @Yesterday, 9, 2 )
Thanks for all your help