Suppose that I have a SQL table that has a varchar[1000] field called \"Remarks\".
I would like to craft a single SQL statement, which when executed, will return 100
On SQL Server specifically:
SELECT DATALENGTH(Remarks) AS FIELDSIZE FROM mytable
Documentation