上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页
摘要: $_POST 变量变量来收集表单数据 <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> </head> <body> <form action="welcome.php" method="post"> 名字: < 阅读全文
posted @ 2021-01-04 14:32 star521 阅读(87) 评论(0) 推荐(0) 编辑
摘要: phpstudy安装的数据库也是默认的3306端口 用户密码默认 root root 要想连接原来本机的数据库需要修改 php mysql的端口号3306 --》》3309 my.ini 修改配置phpstudy 原来的数据库3306在服务中重启一下, phpadmin的端口修改 为 3309 1. 阅读全文
posted @ 2021-01-01 00:22 star521 阅读(446) 评论(0) 推荐(0) 编辑
摘要: route Add:添加路由 Change:更改现存路由 Delete:删除路由 Print:打印路由 route add 134.105.0.0 mask 255.255.0.0 134.105.64.1意思是:所有需要发往134.105.0.0/16地址段的IP数据包,全部由134.105.64 阅读全文
posted @ 2020-12-25 16:01 star521 阅读(90) 评论(0) 推荐(0) 编辑
摘要: select sum(c) into cc from ( (select 1 as c from qhdata_warehouse_north_stat.dw_ytb_org_base where occur_period = max_period limit 1 ) union all (sele 阅读全文
posted @ 2020-12-22 11:10 star521 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 取上个数据期,并将数值插入到变量中 /* 上个季度的数据期 */ DECLARE max_period int4; select DATE_FORMAT(date_sub(concat(year(now()),'-',lpad((quarter(now())-1)*3+1,2,'0'),'-01') 阅读全文
posted @ 2020-12-22 10:47 star521 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 借鉴大神帖子 https://segmentfault.com/a/1190000024556362 vscode中路径 放到此路径下 C:\Users\James Murray\AppData\Local\微信开发者工具\User Data\094c053293b042fe1312a083baf6 阅读全文
posted @ 2020-12-20 11:48 star521 阅读(2454) 评论(0) 推荐(0) 编辑
摘要: 库的大小 1.在postgresql数据库中默认情况下可通过pg_database_size函数加数据库名称的方式来查看数据库的大小 select pg_database_size('ioc') select pg_size_pretty(pg_database_size('ioc')) 表的大小 阅读全文
posted @ 2020-11-14 09:35 star521 阅读(1845) 评论(0) 推荐(0) 编辑
摘要: show variables where Variable_name like 'COLLATION%' collation_connection utf8mb4_0900_ai_cicollation_database utf8mb4_general_cicollation_server utf8 阅读全文
posted @ 2020-11-13 16:40 star521 阅读(114) 评论(0) 推荐(0) 编辑
摘要: mysql的用户远程连接权限 ::1 属于ipv6连接,需要改为ipv4连接,修改host文件 C:\Windows\System32\drivers\etc\hosts ::1 localhost 127.0.0.1 localhost localhost 127.0.0.1 0.0.0.0 lo 阅读全文
posted @ 2020-10-26 14:42 star521 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 查询字段排序规则、数据库编码、表编码 SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLLATION_NAME FROM INFORMATION_SCHEMA.COLUMNS 表字段修复 #改变字段数据 字符集、排序规则 阅读全文
posted @ 2020-09-18 15:14 star521 阅读(667) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE `db_cnwq_org_sb_cc` ( `rid` int(11) NOT NULL AUTO_INCREMENT COMMENT '行号', `occur_period` int(8) DEFAULT NULL COMMENT '报告期', `occur_period 阅读全文
posted @ 2020-09-17 17:13 star521 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1.把要合并的sql文件放到同一个文件夹下 2.创建bat执行文件 copy *.sql deploy.sql -- deploy.sql 是合并后生成的新的文件 阅读全文
posted @ 2020-09-14 18:27 star521 阅读(1550) 评论(0) 推荐(0) 编辑
摘要: 查询字段注释 查询表注释字段注释 SELECTa.TABLE_SCHEMA 库名,a.table_name 表名,a.table_comment 表说明,b.COLUMN_NAME 字段名,b.column_comment 字段说明,b.column_type 字段类型,b.column_key 约 阅读全文
posted @ 2020-09-09 19:05 star521 阅读(560) 评论(0) 推荐(0) 编辑
摘要: PGSQL 复制表 into方式,新表不存在 ; 可添加过滤条件,可选字段;索引、注释不会复制;数据也会复制过去 select nameid ,traffic ,update_time into test0002 from test0001 where nameid = 111 as , 可添加过滤 阅读全文
posted @ 2020-09-09 10:39 star521 阅读(1223) 评论(0) 推荐(0) 编辑
摘要: #找出文本中有关的一行[root@star /]# grep datadir /etc/my.cnfdatadir=/var/lib/mysql查看文件夹的大小[root@star /]# du -sch /var/lib/mysql111M /var/lib/mysql111M 总用量查看某文件的 阅读全文
posted @ 2020-09-08 14:36 star521 阅读(350) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页