SQLSERVERUSE[sss]GOSELECTLEN([NAME])FROM[dbo].[aa]MYSQLCREATETABLEtmp13(vbVARBINARY(10))INSERTINTOtmp13(vb)VALUES(12)SEL
SQLSERVER
USE [sss]
GO
SELECT LEN([NAME]) FROM [dbo].[aa]
MYSQL
CREATE TABLE tmp13(vb VARBINARY(10))
INSERT INTO tmp13 (vb) VALUES(12)
SELECT LENGTH(vb) FROM tmp13
INSERT INTO tmp13 (vb) VALUES(1212)
查看字段的长度