Ver originalSELECT MAX(len(campo)) FROM tabla
Ver originalSELECT *FROM syscolumns cINNER JOIN sysobjects o ON c.id = o.idWHERE o.name = 'tabla'