SQL DATALENGTH Functionby Pradeep RaturiSQL Basics, String FunctionsSQL DATALENGTH() function is used to return the number of bytes used to represent a given string. Share this: Share on Facebook (Opens in new window) Facebook Share on LinkedIn (Opens in new window) LinkedIn Share on WhatsApp (Opens in new window) WhatsApp Share on Reddit (Opens in new window) Reddit