Jeff Moden (10/21/2014)
The BatchID column appears as an INT, an NVARCHAR(10), and an NVARCHAR(50) depending on what table you're in.
Jeff, I don't remember creating a login for you on my server! Yet somehow, you must be there. 😉 Remember our conversation about 2.9 quintillion implicit casts and run time of 92 seconds reduced to 1.5 seconds?
Jeff Moden (10/21/2014)
Like Red Adair used to say, "[font="Arial Black"]If you think it's expensive to hire a professional to do the job, wait until you hire an amateur[/font]."
That quote is priceless.