"Lilliburlero" in the Traditional Ballads Index.
The Opies date the first appearance of "There was an old woman...." to 1784, in a Gammar Gurton's Garland.
"There was a wee wifie rowed up in a blanket" (Old Scottish version).
See DT, lyrics and melody. Chambers 1847.