Re: Databases, Typed Datasets, and Flat Files oh my!



As far as I know, there is no way to do this other then to manually read the
file, get the right characters, and then manually add the rows to the
dataset or database. There is no built in mechanism I am aware of us to
process these kinds of files.

"Ben" <spamdrop@xxxxxxxxxxxx> wrote in message
news:1126124243.488799.292370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> So, at my place of employment, we use a national standard to transmit
> data between certain applications. This standard consists of a fixed
> width, flat file 4500-some-odd chars wide that contain 375-some-odd
> columns (Not delimited). This standard is not changing anytime soon, so
> I attempting to write a library of some sort to read and write these
> files within our SQL databases (which use 160 of those columns, but
> completely ignore the rest).
>
> Now, the way I would attempt to understand this is: Flat file gets
> sucked into dataset, dataset gets shoved into database (or vicea
> versa). So... All of the stuff I see for typed datasets is "XML! XML!
> XML!" but I'm just looking at a way of specifying a dataset in which
> there is a table that says "Field1 is chars 1-10, Field2 is chars
> 10-14..." etc etc etc.
>
> So, people infinitely more talented then me, how would you attempt to
> do this?
>


.



Relevant Pages

  • Re: Special Characters not resolving
    ... starting data at the origin in an ORacle database is 2000 characters. ... When the XML isdelivered to me on disk and I load an ... Obviously I need to find either a way to have the XML file provider strip ...
    (microsoft.public.dotnet.xml)
  • Re: META: how-to ruin a perfectly good FGS
    ... search engine is friendlier to special characters. ... It is again impossible to search for the "standard". ... I have no interest in submitting my database to such destinations. ...
    (soc.genealogy.methods)
  • Re: Produce XML with russian text
    ... 3.23.x MySQL version. ... To get back the data in Memo's and save them in the database there are no problems, only when I want to save them in an external file in an xml with utf-8 encoding. ... Does it show the Russian Cyrilic characters or some other characters? ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: best small database?
    ... This database will likely hold only a few hundred items, ... XML structure. ... well with configuration management systems, backup systems, ... editors, standard search tools, etc. ...
    (comp.lang.python)
  • Re: [ Off Topic ] extracting data from a database and converting it into an XML file
    ... It works great with Oracle and MySQL databases, ... Oracle has built in support for XML already? ... If you stored your data in Oracle XML Database, ... standard 'C' and 'C++', ...
    (alt.comp.lang.learn.c-cpp)

Quantcast