Home > Database > Mysql Tutorial > 我的MYSQL学习心得(三)_MySQL

我的MYSQL学习心得(三)_MySQL

WBOY
Release: 2016-06-01 13:16:57
Original
910 people have browsed it

我的MYSQL学习心得(三)

我的MYSQL学习心得(一)

我的MYSQL学习心得(二)

查看字段的长度

SQLSERVER 

USE [sss]GOSELECT LEN([NAME]) FROM [dbo].[aa]
Copy after login

 

MYSQL

CREATE TABLE tmp13(vb VARBINARY(10))INSERT INTO tmp13 (vb) VALUES(12)SELECT LENGTH(vb) FROM tmp13INSERT INTO tmp13 (vb) VALUES(1212)
Copy after login

 

如有不对的地方,欢迎大家拍砖o(∩_∩)o 

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template