You are here: Re: insert into linked server problem « MsSQL Server « IT news, forums, messages
Re: insert into linked server problem

Posted by Ed Murphy on 03/07/07 04:29

kuNDze wrote:

> on localServer i execute this query
>
> INSERT INTO table (A, B, C)
> SELECT A, B, C FROM LinkedServer.myDB.dbo.table
>
> everything is fine. But if i execute this one
>
> INSERT INTO LinkedServer.myDB.dbo.table (A, B, C)
> SELECT A, B, C FROM table
>
> it is very slow. Is there any solution to make it any faster?

If you get on LinkedServer and execute this query:

INSERT INTO table (A, B, C)
SELECT A, B, C FROM localServer.myDB.dbo.table

is it also slow? Also, if you execute these queries:

INSERT INTO table2 (A, B, C)
SELECT A, B, C FROM localServer.myDB.dbo.table

INSERT INTO table (A, B, C)
SELECT A, B, C from table2

is the second one slow?

 

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

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