11 2018 档案
摘要:1.LEFT(character,integer) 2.RIGHT(character,integer)
阅读全文
摘要:1、CHAR。CHAR存储定长数据很方便。不论你存储的数据是否达到了10个字节,都要占去10个字节的空间 2、VARCHAR。存储变长数。 varchart(n):长度为 n 个字节的可变长度且非 Unicode 的字符数据。范围1 ~ 8000 3、NVARCHAR。它表示存储的是Unicode数
阅读全文
摘要:表锁 1:TABLOCK(表锁) 保证其他进程只能读取而不能修改数据。 select * from t_country with (TABLOCK) 2:TABLOCKX(排它表锁) 防止其他进程读取或修改表中的数据。 select * from t_country with (TABLOCKX)
阅读全文
摘要:一.XML配置 SpringMVC如果要使用AOP注解,必须将放在spring-servlet.xml(配置MVC的XML)中<!-- 启用CGliB --><aop:aspectj-autoproxy proxy-target-class="true" /> 二.自定义注解@Target({Ele
阅读全文
摘要:1. 克隆代码到本地时,出现The authenticity of host 'XX' can't be established. 无法与XX建立连接 解决:将自己本地生成的ssh公钥id_rsa.pub,放到服务器XX的公钥数据库authorized_keys上即可。 ssh git@XX 'ca
阅读全文
摘要:1.SQL server数据类型int、bigint、smallint、tinyintbigint: -2^63 ~2^63-1 8 字节int: -2^31~ 2^31-1 4 字节smallint: -2^15~2^15-1 2 字节tinyint: 0 到 255 1 字节 如果错误,请指出,
阅读全文
摘要:1.行:el-row列:el-col例:<el-row> <el-col :span="20"><div class="grid-content bg-purple-dark"></div></el-col> <el-col :span="4"><div class="grid-content bg
阅读全文
摘要:1.实现双向数据绑定v-bind:href缩写 :href v-bind:class="{ active: isActive, 'text-danger': hasError }"v-bind:style 直接设置样式 2.监听 DOM 事件v-on例:v-on:click="dosomething
阅读全文
摘要:1. git注册用户,邮箱$ git config --global user.name "Your Name"$ git config --global user.email "email@example.com" 2. 创建一个版本库非常简单,创建一个空目录$ git init 3. 文件添加到
阅读全文

浙公网安备 33010602011771号