会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
61
62
63
64
65
66
67
68
69
···
120
下一页
2023年12月12日
mysql create store procedure for loops, and with parameters respectively
摘要: drop procedure if exists insert_into_t2_sp; DELIMITER // CREATE PROCEDURE insert_into_t2_sp() BEGIN DECLARE i INT DEFAULT 2; WHILE (i <= 1000000) DO I
阅读全文
posted @ 2023-12-12 10:42 FredGrit
阅读(16)
评论(0)
推荐(0)
2023年12月11日
linux mysql libmysqlcppconn select,update mysql
摘要: #include <chrono> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iomanip> #include <iostream> #include <memory> #
阅读全文
posted @ 2023-12-11 17:55 FredGrit
阅读(19)
评论(0)
推荐(0)
linux show message via commnd notify-send 'title' 'message'
摘要: int main(int args, char **argv) { system("notify-send 'title' 'message'"); system("notify-send 'title:update failed' 'message:update clause failed'");
阅读全文
posted @ 2023-12-11 17:33 FredGrit
阅读(14)
评论(0)
推荐(0)
2023年12月10日
mysql set column default value as sha2(uuid(),512) ,length() measured sha2(uuid(),512) 's size is 128,
摘要: mysql> select @@version; + + | @@version | + + | 8.0.35-0ubuntu0.23.04.1 | + + 1 row in set (0.00 sec) mysql> create table t4(id bigint unsigned auto_
阅读全文
posted @ 2023-12-10 00:00 FredGrit
阅读(46)
评论(0)
推荐(0)
2023年12月9日
mysql set column sha2(uuid(),512) as column default value via trigger
摘要: mysql> show create table t3; + + + | Table | Create Table | + + + | t3 | CREATE TABLE `t3` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, `create_tim
阅读全文
posted @ 2023-12-09 22:59 FredGrit
阅读(104)
评论(0)
推荐(0)
2023年11月21日
mysql c++ create table,insert,select
摘要: CREATE TABLE `t1` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT primary key, `author` varchar(40) NOT NULL DEFAULT '', `comment` varchar(40) NOT NULL
阅读全文
posted @ 2023-11-21 22:48 FredGrit
阅读(72)
评论(0)
推荐(0)
Init ubuntu for cpp dev
摘要: sudo apt update;sudo apt upgrade -y; sudo apt-get install open-vm-tools-desktop;sudo apt-get install open-vm-tools; wget https://dl.google.com/linux/d
阅读全文
posted @ 2023-11-21 09:18 FredGrit
阅读(33)
评论(0)
推荐(0)
2023年11月17日
ubuntu install c++ develop tools package include vscode,g++,pgsql
摘要: Install vscode
阅读全文
posted @ 2023-11-17 23:24 FredGrit
阅读(10)
评论(0)
推荐(0)
2023年11月15日
C++ signal(SIGFPE,handler) ignore division by 0 exception
摘要: #include <stdexcept> #include <chrono> #include <csetjmp> #include <ctime> #include <fstream> #include <iostream> #include <iomanip> #include <signal.
阅读全文
posted @ 2023-11-15 22:46 FredGrit
阅读(28)
评论(0)
推荐(0)
2023年11月12日
psql
摘要: 1.install psql sudo apt install postgresql postgresql-contrib; sudo apt-get install postgresql-client; 2.login as the default user postgres sudo -u po
阅读全文
posted @ 2023-11-12 20:17 FredGrit
阅读(57)
评论(0)
推荐(0)
上一页
1
···
61
62
63
64
65
66
67
68
69
···
120
下一页
公告