odujosh wrote:
Declare @OldNode = '90909'

Is this even valid TSQL syntax?