dbase

Convert dBase Timestamp

孤人 提交于 2021-02-11 07:42:41
问题 I am trying to convert a dBase .dbf File to a mySQL Database... Its pretty straight forward, but I am stuck at the Timestamp, that is used in my .dbf Database... Here are some Timestamps + the corresponding Date and Time Values: 41594.722222222 - 16.11.2013, 17:20 3472222 41594.725694444 - 16.11.2013, 17:25 3472223 41594.729166667 - 16.11.2013, 17:30 3472222 41594.732638889 - 16.11.2013, 17:35 3472222 41594.736111111 - 16.11.2013, 17:40 3472222 41594.739583333 - 16.11.2013, 17:45 3472223

Convert dBase Timestamp

99封情书 提交于 2021-02-11 07:41:57
问题 I am trying to convert a dBase .dbf File to a mySQL Database... Its pretty straight forward, but I am stuck at the Timestamp, that is used in my .dbf Database... Here are some Timestamps + the corresponding Date and Time Values: 41594.722222222 - 16.11.2013, 17:20 3472222 41594.725694444 - 16.11.2013, 17:25 3472223 41594.729166667 - 16.11.2013, 17:30 3472222 41594.732638889 - 16.11.2013, 17:35 3472222 41594.736111111 - 16.11.2013, 17:40 3472222 41594.739583333 - 16.11.2013, 17:45 3472223

Timestamp in DBase7

ε祈祈猫儿з 提交于 2020-03-21 20:04:10
问题 I'm trying to read DBase 7 timestamp values from .dbf files. From DBase format specification I got the following: 8 bytes - two longs, first for date, second for time. The date is the number of days since 01/01/4713 BC. Time is hours * 3600000L + minutes * 60000L + Seconds * 1000L However, I didn't get any correct values via this algorithm. Here are some timestamp values in binary representation and actual datetime values: 42 CC E1 EC 41 FB 64 00 | 27/08/2013 19:12:13 42 CC E1 ED AF 0E 60 00

dBASE ODBC drivers on Windows Server 2008

血红的双手。 提交于 2020-01-07 06:47:39
问题 I have an C# winforms app that works fine on all our XP machines. We want to put it on a new Win 2008 64 bit server and it breaks on the following code: using (OdbcConnection oConn = new OdbcConnection()) { oConn.ConnectionString = @"Driver={Microsoft dBase Driver (*.dbf)};SourceType=DBF;SourceDB=" + filePath + ";Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;"; oConn.Open(); OdbcCommand oCmd = oConn.CreateCommand(); oCmd.CommandText = "SELECT DISTINCT Mid(POSTCODE,1,Len

Display Big5 encoding from dBase on the web

帅比萌擦擦* 提交于 2020-01-05 09:12:18
问题 I have a dBase III file, the Chinese words inside is encoded in Big5. With the help of PHP ODBC, I can retreieve/ insert record to/ from the dBase file. However, I couldn't diplay the chinese words (Big5) correctly. When I use mb_detect_encodingfunction to detect those chinese words, it appears as "UTF-8". I guess the odbc dump the data in the form of "UTF-8" instead of it's original encoding (ASCII/ Big5). I would like to ask, how can I display the words correctly? Thanks so much for your

I need some info about dBase field types

会有一股神秘感。 提交于 2020-01-05 04:31:05
问题 I need to store an array of words and bytes (and some other data) in a TDBF database (this DB is compatible with dBase). But I don't know the meaning of the field types this DB is using. For example what can I store in a file of 'Array' type or 'TypedBinary'? From where I can get some dBase IV documentation? 回答1: I realized that the constants used by TDBF are actually defined in DB.PAS (borland). It seems that TDBF is not so compatible with dBase. Update: Due to lack of documentation I

Cannot connect to *.dbf file through JDBC drivers

半世苍凉 提交于 2020-01-03 01:58:08
问题 i'm trying to connect to *.dbf (dBase III) file on my Java application, running on a Windows Server 2003 system. I'm encountering this error and I cannot really understand the meaning (sources for OdbcJdbc.java seems to be unavailable): [Microsoft][ODBC dBase driver] '(unknown)' is not a valid path error This is the code I run on my application: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String database = "jdbc:odbc:DRIVER={Microsoft dBase Driver(*.dbf)};DBQ=D:\\dbNeri\\CARISTAT;";

How to open DBase files (.DBF) in Matlab?

别来无恙 提交于 2019-12-30 09:33:21
问题 I've googled and searched through Matlab Central, but cannot find any way to open DBF files directly in Matlab. There are some references to DBFREAD function in TMW File Exchange, but it's not available anymore. Is it really a problem? I do have Database toolbox, but could not find dbf support there. I don't want to use Excel or other tools for converting files outside of Matlab, since I have a lot of files to process. ODBC also is not good, I need the code to work under Mac and Unix as well.

StelsDBF java.lang.OutOfMemoryError: Java heap space

不羁岁月 提交于 2019-12-25 05:24:08
问题 I am using a evaluation version of StelsDBF JDBC Driver 5.2 I have a dbf file with 8302 rows and 43 cols 5mb and StelsDBF seems not working. StelsDBF works fine with other smaller files. My query select codi,descrip from \"DATA.DBF\" limit 10 When I try to get the results I get the following Exception in thread "'DATA.DBF' producer" java.lang.OutOfMemoryError: Java heap space at jstels.database.b.d.if(Unknown Source) at jstels.database.b.e.do(Unknown Source) at jstels.jdbc.dbf.a.b.a(Unknown

Read dBase / Paradox data into R?

房东的猫 提交于 2019-12-24 14:15:35
问题 I have a hundred or so database files I inherited that I'm currently reading with "Paradox dBase Access Reader", and exporting manually to pipe-delimited text files. I'd LOVE to do this with some kind of access library that would let me read these files directly into R. The reader tool states that these files are "Paradox 5.0 for Windows", and they have a .db extension on them. I was hopeful that I could use the foreign package to read them, because it states in the docs for the read.dbf()