上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: delete from TableName; //清空数据 update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0转自:https://www.cnblogs.com/huangtailang/p/3246336.ht 阅读全文
posted @ 2021-09-22 09:02 dcrenl 阅读(526) 评论(0) 推荐(0)
摘要: select FLOOR(DATEDIFF(DY, substring(身份证字段,7,4), GETDATE()) / 365.25) age from [表名] 阅读全文
posted @ 2021-05-17 22:32 dcrenl 阅读(227) 评论(0) 推荐(0)
摘要: 一、jdk安装 1、下载jdk安装文件 2、在"系统变量”下”新建“选项"JAVA_HOME"值为:"jdk"文件夹路径 3、在"系统变量"中找到"Path"增加%Java_Home%\bin;%Java_Home%\jre\bin; 4、在"系统变量"栏,"新建","变量名"为"CLASSPATH 阅读全文
posted @ 2020-12-24 17:13 dcrenl 阅读(260) 评论(0) 推荐(0)
摘要: 1、查询当前使用的数据库 select database(); 2、获取当前数据库表 select * from information_schema.TABLES where TABLE_SCHEMA=(select database()) 第二种方法,不能使用union all 等方式。 sho 阅读全文
posted @ 2020-12-17 18:31 dcrenl 阅读(871) 评论(0) 推荐(0)
摘要: 1、找个安装镜像文件 2、必须以管理员身份运行cmd 3、在CMD里输入“G:\vs_professional.exe /uninstall /force" 4、企业版就把professional改为enterprise 阅读全文
posted @ 2020-12-17 17:03 dcrenl 阅读(421) 评论(0) 推荐(0)
摘要: 1:修改pom.xml 将“jar”改为“war” <packaging>war</packaging> 将: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ 阅读全文
posted @ 2020-12-08 17:35 dcrenl 阅读(197) 评论(0) 推荐(0)
摘要: 一:使用@CrossOrigin注解 @CrossOrigin @RequestMapping(value = "/get") public HashMap<String, Object> get(@RequestParam String name) { HashMap<String, Object 阅读全文
posted @ 2020-12-08 17:22 dcrenl 阅读(151) 评论(0) 推荐(0)
摘要: import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springfra 阅读全文
posted @ 2020-12-08 17:06 dcrenl 阅读(163) 评论(0) 推荐(0)
摘要: spring boot 创建项目引用mybatis后,直接运行会提示: Cannot determine embedded database driver class for database type NONE 因为springboot启动时会自动注入数据源 使用@SpringBootApplic 阅读全文
posted @ 2020-12-08 16:55 dcrenl 阅读(81) 评论(0) 推荐(0)
摘要: var GPS = { PI : 3.14159265358979324, x_pi : 3.14159265358979324 * 3000.0 / 180.0, delta : function (lat, lon) { // Krasovsky 1940 // // a = 6378245.0 阅读全文
posted @ 2020-12-05 09:37 dcrenl 阅读(3506) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页