You are here: Re: large inserts « MsSQL Server « IT news, forums, messages
Re: large inserts

Posted by Alex Kuznetsov on 07/06/07 13:29

On Jul 5, 12:34 pm, Emin <emin.shop...@gmail.com> wrote:
> Dear Experts,
>
> What is the best way to do a large insert WITHOUT having direct access
> to the machine SQL Server is running on? For example, imagine I want
> to insert something like 20,000 records. If I were to have access to
> the server, I could BULK INSERT into a temp table and then insert into
> the destination table. But if I can't create a file on the server to
> use for BULK INSERT, what is the next best alternative to doing lots
> of 1 record insert statements?
>
> Thanks,
> -Emin

You can put your file in a shared folder - BULK INSERT can read it if
it is accessible by the account SQL Server runs under.

Alex Kuznetsov, SQL Server MVP
http://sqlserver-tips.blogspot.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация