上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页

2019年1月4日

sql 等额本息

摘要: /* 等额本息计算还款额 a 贷款总额 b 月利率 m 贷款月数 */ execute block returns (result double precision) as declare a int = 100; -- 单位 = 万 declare b double precision = 4.9; declare m int = 240; begin :a = :a *... 阅读全文

posted @ 2019-01-04 16:45 jonney_wang 阅读(899) 评论(0) 推荐(0) 编辑

2018年12月10日

Firebird 手动安装 Legacy_Auth 登陆认证

摘要: 下载官方发布的最新版本:V3.0.4 或者下载还没正式发布的下个版本(但已经修复了一些bug):V3.0.5 下载后解压缩,修改配置文件Firebird.conf的登陆认证为Legacy_Auth:这样不需要初始化security3.fdb数据库。 修改数据库默认目录: DatabaseAccess 阅读全文

posted @ 2018-12-10 17:51 jonney_wang 阅读(371) 评论(0) 推荐(0) 编辑

Firebird reset SYSDBA password

摘要: Firebird 重置超级管理员SYSDBA密码 首先登陆到服务器上(以下以Windows系统演示),命令行进入安装目录,我这里是 D:\005-Installer\05-Firebird\Firebird-3.0.5.33084-0_x64> 这里主要用isql交互工具,登陆 employee 数 阅读全文

posted @ 2018-12-10 17:30 jonney_wang 阅读(1594) 评论(0) 推荐(0) 编辑

2018年12月5日

Firebird 获取用户表及字段

摘要: select rdb$relation_fields.rdb$relation_name table_name, rdb$relations.rdb$description table_des, rdb$relation_fields.rdb$field_name field_name, rdb$relation_fields.rdb$descr... 阅读全文

posted @ 2018-12-05 19:52 jonney_wang 阅读(975) 评论(0) 推荐(0) 编辑

2018年11月21日

Firebird shadow

摘要: 火鸟数据库的shadow,即实时镜像。 主库发生变化,shadow也跟随变化,防止任何意外造成主库损坏无法使用,当然shadow可以有多个。 1、创建shadow的准备:修改Firebird.conf配置文件,追加一个数据库目录 DatabaseAccess = Restrict db; shado 阅读全文

posted @ 2018-11-21 17:39 jonney_wang 阅读(477) 评论(0) 推荐(0) 编辑

2018年11月18日

postgresql 匿名函数(单独执行代码段)

摘要: do LANGUAGE plpgsql $$ declare top integer; row_org dbo.a_org_type%rowtype; begin /* Insert real code here */ select into row_org * from dbo.a_org_type order by id desc limit 1; top := row_... 阅读全文

posted @ 2018-11-18 08:47 jonney_wang 阅读(2044) 评论(0) 推荐(0) 编辑

2018年11月15日

mysql 最小配置 及 安装

摘要: 初始化数据库: mysqld --initialize --console 初始化后,临时密码显示在控制台中: 若临时密码忘记,将data目录删除,重新初始化即可。 安装为服务: mysqld --install mysql8 mysql8 即是服务名称。 阅读全文

posted @ 2018-11-15 21:31 jonney_wang 阅读(1981) 评论(0) 推荐(0) 编辑

2018年11月14日

Firebird 安装多实例

摘要: 火鸟数据库的安装向导,默认不允许多实例。 但是不管出于什么原因,若想安装多实例,很简单。 1、先用安装文件,按照向导安装第一个实例。 2、安装后不要启动服务,根据需要配置好Firebird.conf。 3、把安装目录的Firebird拷贝一份,修改配置文件的端口,默认是3050,可以修改为3051等 阅读全文

posted @ 2018-11-14 15:14 jonney_wang 阅读(536) 评论(0) 推荐(0) 编辑

2018年11月13日

C# SocketUdpServer

摘要: public interface ISocketUdpServer { void Start(); void Stop(); int SendData(byte[] data, IPEndPoint remoteEndPoint); event ReceiveDataHandler ReceivedDataEven... 阅读全文

posted @ 2018-11-13 16:43 jonney_wang 阅读(3152) 评论(0) 推荐(0) 编辑

C# HttpHelper

摘要: public enum HttpVerb { Get, Post } public class HttpHelper { private string _contentType = "application/x-www-form-urlencoded"; //private stri... 阅读全文

posted @ 2018-11-13 16:40 jonney_wang 阅读(517) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页

导航