会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
79
80
81
82
83
84
85
86
87
···
137
下一页
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
阅读(97)
评论(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
阅读(148)
评论(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
阅读(118)
评论(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
阅读(50)
评论(0)
推荐(0)
2023年11月17日
ubuntu install c++ develop tools package include vscode,g++,pgsql
摘要: Install vscode
阅读全文
posted @ 2023-11-17 23:24 FredGrit
阅读(20)
评论(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
阅读(58)
评论(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
阅读(91)
评论(0)
推荐(0)
2023年11月10日
C++ insert into tables of pgsql via libpq-fe.h and compile by g++-13
摘要: 1.Install libpq-dev sudo apt install libpq-dev locate libpq-fe.h /usr/include/postgresql/libpq-fe.h 2.create table t1 create table t1(id bigserial not
阅读全文
posted @ 2023-11-10 23:24 FredGrit
阅读(99)
评论(0)
推荐(0)
2023年11月9日
C++ ubuntu install libpq-fe.h PGconn PQconnectdb PGresult PQexec PQnfields PQntuples PQfname PQgetvalue
摘要: 1.Install libpq-dev sudo apt install libpq-dev locate libpq-fe.h /usr/include/postgresql/libpq-fe.h 2.main.cpp #include <chrono> #include <fstream> #i
阅读全文
posted @ 2023-11-09 22:06 FredGrit
阅读(196)
评论(0)
推荐(0)
2023年10月31日
mysql create table, insert,select via c++ and lmysqlcppconn
摘要: //create table t1 CREATE TABLE `t1` (`id` bigint NOT NULL AUTO_INCREMENT,`author` varchar(40) NOT NULL,`comment` varchar(40) NOT NULL,`content` varcha
阅读全文
posted @ 2023-10-31 00:59 FredGrit
阅读(60)
评论(0)
推荐(0)
上一页
1
···
79
80
81
82
83
84
85
86
87
···
137
下一页
公告