firebird

Firebird Error while trying to create file, Permission denied

为君一笑 提交于 2020-05-29 04:19:41
问题 I'm trying to create a Firebird database in my home directory through Flamerobin however I always get *** IBPP::SQLException *** Context: Database::Create Message: isc_dsql_execute_immediate failed SQL Message : -902 Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements Engine Code : 335544344 Engine Message : I/O error during "open O_CREAT" operation for file "/home/user/test.fdb" Error while trying to create file Permission denied even

Firebird Error while trying to create file, Permission denied

ぃ、小莉子 提交于 2020-05-29 04:19:05
问题 I'm trying to create a Firebird database in my home directory through Flamerobin however I always get *** IBPP::SQLException *** Context: Database::Create Message: isc_dsql_execute_immediate failed SQL Message : -902 Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements Engine Code : 335544344 Engine Message : I/O error during "open O_CREAT" operation for file "/home/user/test.fdb" Error while trying to create file Permission denied even

Entity Framework Code First - Cast smallint and integer to int32

柔情痞子 提交于 2020-05-14 18:03:19
问题 Im working on a small service tool for a database. My problem is that due the last update, some smallint-colums had to be be changed into integer. public class TEST { public int ID { get; set; } //public Int16 ID { get; set; } public string TEST { get; set; } } I changed the type from Int16 to int. Everything works fine, except that I can't use it with the old Version of the Database anymore. The Exception is something like "System.Int32 expected, found Typ System.Int16". Is there a way to

CloudBeaver dbeaver web 版本

独自空忆成欢 提交于 2020-04-29 08:57:11
CloudBeaver 是dbeaver 提供的web版本,同时也提供了社区版(开源,很不错),以下是一个简单的使用 server 参考架构 java 环境 java 11 && maven 3.6 作为编译 库 Equinox osgi 容器 Eclipse Platform 虚拟文件系统以及插件管理 jetty web server java graphql api 作为前端访问 dbeaver 作为数据库管理平台 其他三方数据库驱动 支持的数据库 pg mysql mariadb sqlite firebird 说明 目前官方暂时还没提供docker 版本,后期制作一个docker镜像,代码也是很值得学习的 参考资料 https://github.com/dbeaver/cloudbeaver https://demo.cloudbeaver.io/ 来源: oschina 链接: https://my.oschina.net/u/4370305/blog/4257730

FastReport报表设计

て烟熏妆下的殇ゞ 提交于 2020-04-25 13:54:34
[转载]FastReport报表设计 (2012-10-24 20:37:26) 转载 ▼ 标签: 转载 原文地址: FastReport报表设计 作者: 小黑 FastReport报表设计 目录 5.1 前言 5.2 基本概念及操作 5.3 报表设计与范例 5.4 常用功能及函数 5.5 报表设计常用技巧 5.1 前言 汽车业务管理系统(VBMS)使用FastReport3.0报表系统设计报表。 本文主要描述使用FastReport设计报表的基本概念、使用方法、设计技巧和范例,不是FastReport的用户手册因此并不针对每个细节进行阐述。立足于建立设计报表的概念和实用技巧范例的讲解,面对的是具有一定计算机操作水平的用户。 在VBMS中使用FastReport设计报表应该掌握以下知识: 1、 熟悉SQL语言,为设计报表准备数据源。 2、 掌握VBMS的数据结构,可参考相关资料。 3、 掌握FastReport报表的设计使用方法。 体系结构 学习报表设计前应当首先弄清楚VBMS系统与FastReport报表设计之间的关系。报表设计的目的是将VBMS数据库(Firebird1.5)中的数据按照需要的视图方式显示、统计出来,并且可以打印、导出。 VBMS数据库与VBMS管理系统以及FastReport报表设计之间的关系是: Firebird数据库系统是报表的数据源

《SQL 反模式》 学习笔记

落花浮王杯 提交于 2020-04-20 09:59:53
第一章 引言 GoF 所著的的《设计模式》,在软件领域引入了 “设计模式”(design pattern) 的概念。 而后,Andrew Koenig 在 1995 年造了 反模式(anti-pattern) (又称反面模式)这个词,灵感来自于 GoF 所著的的《设计模式》。 反模式指的是在实践中经常出现但又低效或是有待优化的设计模式,是用来解决问题的带有共同性的不良方法。它们已经经过研究并分类,以防止日后重蹈覆辙,并能在研发尚未投产的系统时辨认出来。 所以,反模式是特殊的设计模式,而这种设计模式是欠妥的,起到了反效果。 但有的时候,出于权衡考量,也会使用反模式。 例如数据库的结构中使用的 反规范化 设计。 下面的每一章,都会列举一种特定场景下的反模式,然后再给出避免使用反模式的建议。 有个别章节,我略去了反模式,直接写解决方案了。 第二章 乱穿马路 假设有 Product 和 Account 两个实体。 1、一对一关系 假设:Product 只有一个 Account(即 Account 也只有一个 Product)。 方案:只用 一张表 ,用两个字段(Product + Account)关联即可。 如无必要,就别用多个表,这会增加复杂度(除非考虑未来的拓展性等其他情况)。 2、一对多关系 假设:Product 可以有多个 Account。 方案1: 两张表 ,一个 Product

一个操作firebird的helper类

荒凉一梦 提交于 2020-04-03 07:38:10
参照了pet shop以及DAAB, using System; using System.Data; using System.Collections.Generic; using System.Text; using FirebirdSql.Data.FirebirdClient; namespace ADOHelper { public class Firebird { private string connStrTemplate = " Server={0};User={1};Password={2};Charser={3};Database={4} " ; private string connStr; protected char ParameterToken { get { return ' @ ' ; } } // 连接字符串 public string ConnectString { set { connStr = value; } } // 构造函数 public Firebird() { } // 构造函数2 public Firebird( string host, string user, string password, string charset, string database) { connStr = String.Format

Firebird Database Stored Procedure in SSRS - not loading the stored procedure

孤者浪人 提交于 2020-03-28 03:45:15
问题 I have a stored procedure running in Firebird Database. Now I try to use this stored procedure to build a report in the SSRS 2012 (SSDT) Report Designer. After I connect to the dataset, and when I choose the Query Type as 'Stored Procedure', and type the name of my stored procedure, and then go to the Query Designer, and click ! (F5), I get the following error: TITLE: Microsoft SQL Server Report Designer ------------------------------ An error occurred while executing the query. ERROR [HY000]

Rebuild sql query to sum date from two tables

情到浓时终转凉″ 提交于 2020-03-04 21:48:02
问题 I need a solution extension that I received and it is visible at the link How to get correct year, month and day in firebird function datediff. I have problem with connect data from two tables. I have got data with dates in two table KP and KPS. I know that I have to add data from second table in SQL query in that place where is definition of KP2 but I don`t know how to do this. Should I use join? I have this SQL query: SELECT KP3.id_contact, (KP3.D2-KP3.D1) / (12*31) AS Y, ((KP3.D2-KP3.D1) -

Laravel 6 can not found vendor class from the fast-tuned package that was released for the Laravel 5

拈花ヽ惹草 提交于 2020-03-04 18:37:30
问题 I am trying to use Firebird 3.0 from Laravel 6.0 and I am following https://firebirdsql.org/file/documentation/reference_manuals/fbdevgd-en/html/fbdevgd30-php-Laravel-crt-project.html where the package https://github.com/sim1984/laravel-firebird is suggested. Unfortunately, this package is intended for Laravel 5.7 (or maybe it has not been published in composer repositories) that is why I received the following message while I was trying to install this package: [InvalidArgumentException]