I have the words to the Lambton Worm engraved on a pewter beer tankard (1965 vintage)The version quoted in first posting became popular generally after being first sung in Newcastle Music Halls around 125 yrs ago.
The story itself is much much older as already pointed out by RANK for which I give many thanks and "Broons aal roond" Cheers John