上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 76 下一页
摘要: sudo systemctl stop mysql; sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*; sudo rm -rf /etc/mysql /var/ 阅读全文
posted @ 2023-09-09 01:57 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //create procedure statementdelimiter $$ use db $$ drop procedure if exists insertIntoT1Table; create procedure insertIntoT1Table(in num int) begin de 阅读全文
posted @ 2023-09-08 20:38 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: use db; 'CREATE TABLE `t1` ( `id` bigint NOT NULL AUTO_INCREMENT, `name` varchar(40) NOT NULL DEFAULT '''', `author` varchar(40) NOT NULL DEFAULT '''' 阅读全文
posted @ 2023-09-04 21:20 FredGrit 阅读(10) 评论(0) 推荐(0) 编辑
摘要: //install libuuid-devel sudo yum install libuuid libuuid-devel #include <iostream> #include <stdio.h> #include <uuid/uuid.h> char *uuid_value=(char*)m 阅读全文
posted @ 2023-08-07 11:10 FredGrit 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Functions can't modify anything and must have at least one parameter. They also have to return a result. Stored procedures don't need a parameter, may 阅读全文
posted @ 2023-08-02 18:50 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.install mysql in ubuntu; 2install mysqlconnector; sudo apt install libmysqlclient-dev 3.complete code #include <algorithm> #include <chrono> #includ 阅读全文
posted @ 2023-07-21 18:58 FredGrit 阅读(29) 评论(0) 推荐(0) 编辑
摘要: // main.cpp #include <algorithm> #include <chrono> #include <cstdio> #include <cstdlib> #include <cstdint> #include <ctime> #include <fstream> #includ 阅读全文
posted @ 2023-07-20 06:32 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstdlib> #include <ctime> #include <cstdint> uint32_t rand32() { return ((rand() & 0x3) << 30) | ((rand() & 0x7fff) << 15) 阅读全文
posted @ 2023-07-19 11:46 FredGrit 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <random> #include <sstream> 阅读全文
posted @ 2023-07-18 15:53 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: // main.cpp #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include 阅读全文
posted @ 2023-07-18 00:01 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 76 下一页