realbasic-nug
[Top] [All Lists]

Re: Loading 300000 lines into a database/regex database searching

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Loading 300000 lines into a database/regex database searching
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Thu, 31 Mar 2005 10:52:34 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <3d7183c9dd0e0848e627ba6db908bf61 at fireyesoftware dot com>

On Mar 30, 2005, at 9:50 PM, Asher Dunn wrote:

What would be the best way to load a 300000 line text file into a database? Each line would be one record with one field. With around 300000 lines, so I'd rather not just loop through doing an individual insert for each record.
I'm looking for a way to load the data into the database all at once.

Which database?


Also, is there any database that supports RegEx searching? Something like:
SELECT myField FROM myTable WHERE myField likeRegex('.*rb.*');


Valentina.

--------------
Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>