btrieve

Btrieve Date Integer

陌路散爱 提交于 2019-12-24 10:56:39
问题 this is my question: I'm migrating data from a Btrieve file (.dat) through Pervasive Control Center and there is field type which is defined as integer but is a date and for example the date '31/12/2009' (seen in the legacy system) is view it as the number 733772 when I export it. The legacy system shows the date correctly but I can't export it in the same format or at least I can't convert it. Does anybody know how to convert this number through Excel or something? 回答1: When I divided 733772

Read Pervasive Database 9 without creating ODBC DSN

雨燕双飞 提交于 2019-12-12 01:29:34
问题 I am writing an application in C# (.NET 4.0) which has to integrate with another, much older application. Part of the requirement is that my program must read data from three Btrieve files. I can assume that these Btrieve data files will already exist on the computers where my program is installed, and I can also assume that Pervasive PSQL V9 will also be installed and the relational and transactional service programs are running. I have the associated DDF files, and I can install them as

Btrieve/Pervasive db and Ruby

喜夏-厌秋 提交于 2019-12-06 15:55:33
问题 Is there any solution to work with Btrieve/Pervasive db from Ruby level? Any gem? Maybe somebody have some experience with such a thing? Or maybe use some Java libs through Jruby? I've never used Jruby 回答1: Never worked with that, but if there's a JDBC adapter for it, then it's a good idea to use JRuby. Using JRuby is dead simple, visit JRuby.org. 回答2: @kell I used jruby and JDBC Pervasive driver. Simple example: require "java" module JavaSql include_package "java.sql" end pervasive_driver =

Btrieve/Pervasive db and Ruby

强颜欢笑 提交于 2019-12-04 21:44:30
Is there any solution to work with Btrieve/Pervasive db from Ruby level? Any gem? Maybe somebody have some experience with such a thing? Or maybe use some Java libs through Jruby? I've never used Jruby Never worked with that, but if there's a JDBC adapter for it, then it's a good idea to use JRuby. Using JRuby is dead simple, visit JRuby.org . @kell I used jruby and JDBC Pervasive driver. Simple example: require "java" module JavaSql include_package "java.sql" end pervasive_driver = Java::JavaClass.for_name("pervasive.jdbc.PervasiveDriver") conn = JavaSql::DriverManager.getConnection("jdbc