Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > Database
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Database Database problems or need to ask a question? maybe something to do with sql injections or a database software question. Database topics cover MySQL, PostgreSQL, Oracle, SQL Server or anything else related to databases.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 9:34 PM   #1
timasmith@hotmail.com
 
timasmith@hotmail.com's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Db independent solution to importing data

Hi,

For product demos to get users up and running quickly I need a database
and content.

While databases such as Oracle have great uilities like import/export
to ship 'start/vendor supplied reference data' I would like to ship
something suitable for several databases - Oracle, mySQL, hSql, etc.

I dont have a problem writing the sql schema scripts - most of the
differences from one database to another are not huge to change.

But the content seems problematic - regardless of the db vendor - while
I *could* use general insert statements (ugh) - that falls down quickly
with 2000 character fields or binary data.

Do I truly need to write my own stand alone application (perhaps Java +
propreitary binary files) to import the reference data or is there
another way?

thanks

Tim

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 07-01-2007, 9:34 PM   #2
bdbafh@gmail.com
 
bdbafh@gmail.com's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Db independent solution to importing data

(rips open the plastic wrapper of microwavable popcorn and heads to the
kitchen ...)

I wonder how long it will be until Mladen mentions the Perl DBI and its
cross-platform abilities albeit limited by lacking array-interface
support.

4:08 pm EDT.

-bdbafh

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 9:34 PM   #3
Jim Kennedy
 
Jim Kennedy's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Db independent solution to importing data


<timasmith@hotmail.com> wrote in message
news:1147895142.398214.254280@u72g2000cwu.googlegr oups.com...
> Hi,
>
> For product demos to get users up and running quickly I need a database
> and content.
>
> While databases such as Oracle have great uilities like import/export
> to ship 'start/vendor supplied reference data' I would like to ship
> something suitable for several databases - Oracle, mySQL, hSql, etc.
>
> I dont have a problem writing the sql schema scripts - most of the
> differences from one database to another are not huge to change.
>
> But the content seems problematic - regardless of the db vendor - while
> I *could* use general insert statements (ugh) - that falls down quickly
> with 2000 character fields or binary data.
>
> Do I truly need to write my own stand alone application (perhaps Java +
> propreitary binary files) to import the reference data or is there
> another way?
>
> thanks
>
> Tim
>

I don't know about mySQL etc. but don't each of those have an export and
import utility? If they do then just do 3 exports, 1 from each db. Then
ship them and let the customer import with the proper utility. It should
take a lot shorter than writing something. (and making that thing perform
well etc.) You have to test agaainst all those databases anyway.(so you
should have them in house)
Jim


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 9:35 PM   #4
Brian Plauborg
 
Brian Plauborg's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Db independent solution to importing data

Perhaps you can use http://dbunit.sourceforge.net/ ?

Though I have no real experience with the tool so I can't qualify my
suggestion.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Waypoints Capt. jack GPS 3 06-25-2007 11:50 PM
Sony MEX-1HD - importing from memory stick Glenn Richards Car audio 0 06-18-2007 3:18 PM
Independent Web Designer Brian Sakowicz Building An Internet Business 0 05-29-2007 3:09 AM
Independent Web Designer Brian Sakowicz Building An Internet Business 0 05-29-2007 2:34 AM
importing calendars Chase Kimball Google questions 0 05-28-2007 1:45 AM


Featured Websites




All times are GMT +1. The time now is 3:50 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98