WengQiang's Blog

where there is a will, there is a way!

自定义user macro

  1. 添加property sheet 打开property manager 添加property sheet

  2. 打开上面创建的property sheet(.props结尾),然后自定义user macro 自定义user macro

阅读全文 »

上标和下标

  • 上标: O(n<sup>2</sup>)

    效果 O(n2)

  • 下标: O(h<sub>2</sub>o)

    效果 O(h2o)

插入图片

打开Class

  1. win: ctrl + n

a symbol [usage | list usage] in project

  1. win:alt + f7 / ctrl + alt + f7

  2. win: highlight the usage: ctrl + shift + f7 win: navigate the highlighted usage: f3/shift + f3 win: remove the highlight: esc

go to the definition

  1. win: go to just on definition or several definitions: ctrl + b | ctrl + alt + b
阅读全文 »

连接(需安装mysql-client)

  • mysql -h主机地址 -u用户名 -p密码
  • mysql -u 用户名 -p #回车后输入密码

大小写问题

sql语句命令不区别大小写的。一些人习惯把关键词大写出来显示,方便阅读

  1. mysql在linux下数据库名、表名、列名、别名大小写规则如下
  • 数据库名与表名是严格区分大小写的
  • 表的别名是严格区分大小写的
  • 列名与列的别名在所有的情况下均是忽略大小写的
  • 变量名严格区分大小写
  1. mysql在windows下都不区分大小写

  2. mysql配置时设置区分大小写 查询时设置大小写 select * from tbl_user where binary user_name={}

阅读全文 »
0%