欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

mysql学习笔记之帮助文档

程序员文章站 2023-12-04 22:16:46
查看系统帮助 help contents mysql> help contents; you asked for help about help c...

查看系统帮助

help contents

mysql> help contents;
you asked for help about help category: "contents"
for more information, type 'help <item>', where <item> is one of the following
categories:
  account management
  administration
  compound statements
  data definition
  data manipulation
  data types
  functions
  functions and modifiers for use with group by
  geographic features
  help metadata
  language structure
  plugins
  procedures
  storage engines
  table maintenance
  transactions
  user-defined functions
  utility

帮助文档的目录列表

查看数据类型

help data types

mysql> help data types;
you asked for help about help category: "data types"
for more information, type 'help <item>', where <item> is one of the following
topics:
  auto_increment
  bigint
  binary
  bit
  blob
  blob data type
  boolean
  char
  char byte
  date
  datetime
  dec
  decimal
  double
  double precision
  enum
  float
  int
  integer
  longblob
  longtext
  mediumblob
  mediumint
  mediumtext
  set data type
  smallint
  text
  time
  timestamp
  tinyblob
  tinyint
  tinytext
  varbinary
  varchar
  year data type

查看整数

mysql> help int;
name: 'int'
description:
int[(m)] [unsigned] [zerofill]
a normal-size integer. the signed range is -2147483648 to 2147483647.
the unsigned range is 0 to 4294967295.
url: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html
mysql> help tinyint;
name: 'tinyint'
description:
tinyint[(m)] [unsigned] [zerofill]
a very small integer. the signed range is -128 to 127. the unsigned
range is 0 to 255.
url: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html