Unix Technical Forum

SQL Import of LArge Amount of Data

This is a discussion on SQL Import of LArge Amount of Data within the SQL Server forums, part of the Microsoft SQL Server category; --> This is a general question on the best way to import a large amount of data to a MS-SQL ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 02:33 PM
Mike
 
Posts: n/a
Default SQL Import of LArge Amount of Data

This is a general question on the best way to import a large amount of data
to a MS-SQL DB.

I can have the data in just about any format I need to, I just don't know
how to import the data. I some experience with SQL but not much.

There is about 1500 to 2000 lines of data. I am looking for the best way to
get this amount of data in on a monthly basis.

Any help is greatly thanked!!

Mike Charney


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 02:33 PM
SQL
 
Posts: n/a
Default Re: SQL Import of LArge Amount of Data

2000 lines is far from large but anyway use DTS, if the files get
bigger (50000 lines+) use BCP or BULK INSERT


http://sqlservercode.blogspot.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 02:33 PM
Mike
 
Posts: n/a
Default Re: SQL Import of LArge Amount of Data

Sorry my mistake, it is 150,000 to 200,000 lines.

Where could I find information using BCP or BULK INSERT?

Mike Charney

"SQL" <denis.gobo@gmail.com> wrote in message
news:1128696326.936346.93820@o13g2000cwo.googlegro ups.com...
> 2000 lines is far from large but anyway use DTS, if the files get
> bigger (50000 lines+) use BCP or BULK INSERT
>
>
> http://sqlservercode.blogspot.com/
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 02:33 PM
SQL
 
Posts: n/a
Default Re: SQL Import of LArge Amount of Data

In Books on line, do a search for bcp or BULK INSERT

http://sqlservercode.blogspot.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-29-2008, 02:33 PM
ROAN
 
Posts: n/a
Default Re: SQL Import of LArge Amount of Data

Using DTS is very good idea but there is a import/export wizard
(something like building dts wizard). It is very simply.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-29-2008, 02:33 PM
Greg D. Moore \(Strider\)
 
Posts: n/a
Default Re: SQL Import of LArge Amount of Data


"Mike" <noway@forgetit.com> wrote in message
news:I%x1f.918$Si4.490@newssvr30.news.prodigy.com. ..
> Sorry my mistake, it is 150,000 to 200,000 lines.
>
> Where could I find information using BCP or BULK INSERT?


Books Online that comes with SQL Server.

For reference, I just imported 700,000+ records yesterday, with several text
fields in each.

Took less than 15 minutes.

Fortunately this was in native format and already sorted. But you get the
idea.

I used BULK INSERT.


>
> Mike Charney
>
> "SQL" <denis.gobo@gmail.com> wrote in message
> news:1128696326.936346.93820@o13g2000cwo.googlegro ups.com...
> > 2000 lines is far from large but anyway use DTS, if the files get
> > bigger (50000 lines+) use BCP or BULK INSERT
> >
> >
> > http://sqlservercode.blogspot.com/
> >

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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
Forum Jump


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com