• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

nabeel
#1 Posted : Monday, October 13, 2008 5:23:47 AM(UTC)
nabeel

Rank: Member

Joined: 9/15/2008(UTC)
Posts: 17

Hi,
I have a big amount of Data in CSV file is there any way to import data from CSV file to BVC5 Db.

Becuse manually doing it would take more than 4,5 days.
blueacorn
#2 Posted : Wednesday, October 15, 2008 7:40:27 AM(UTC)
blueacorn

Rank: Member

Joined: 6/27/2007(UTC)
Posts: 63

Nabel, what data do you have (products, categories, orders, customers, etc)? If you know .NET you could create a script that inserts these items into the db using these calls. You could also theoretically create SQL queries in the spreadsheet itself as an insert statement for each line, but with certain things when they're created they're actually inserted in more than one table, so it's just something to watch out for. If they're products you're trying to import, you'll need to be concerned about inventory, images, and categorization. We're actually working on a customization for a client right now that takes a spreadsheet and allows them to import products....
bvcoder
#3 Posted : Thursday, October 16, 2008 1:03:21 AM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

Best would be this:
1. Import your data from the csv files and spreadsheets to SQL directly. SQL already supports importing data from different file formats (you can create new tables to hold your imported data).
2. Once you have the data in SQL tables, move it around as appropriate using direct SQL queries.

But you need to know what data goes where.
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
bilche
#4 Posted : Thursday, October 16, 2008 6:23:32 AM(UTC)
bilche

Rank: Member

Joined: 10/16/2008(UTC)
Posts: 9

Actually we have to insert product data in tables, now i don't know whether system automatically generate primary keys where needed. or i have to insert these manually. and also these unique keys are like "GJ23HF4U5543H65GTI" mean to say looking no format.

thanks for any help.
blueacorn
#5 Posted : Thursday, October 16, 2008 7:39:25 AM(UTC)
blueacorn

Rank: Member

Joined: 6/27/2007(UTC)
Posts: 63

For the primary key (bvin) you can create a primary key in your SQL statement by using the newid() parameter - this will create a unique, 32 digit GUID that is typically used by BV (36 digits if you count the 4 hyphens). Hope that helps.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012