Re: Bulk copy question
- From: "Joe Mamma" <bstark<NOSPAM>@<NOSPAM>obj-tec.com<NOSPAM>>
- Date: Fri, 11 Nov 2005 19:56:12 -0500
I love when people give answers when they dont know what they are talking
about. . .
Its very easy to do!!!
Say we have a server, [source] with a catalog called [foo] and a schema
called [bar] and a table called [foobar]
we have a server called [dest], with a catalog called [fu] and a schema
called [bas] and we want to copy it to a table called [fubas]
first, link the source server as 'foo' . see sp_addlinkedserver (i think
thats the proc) or use enterprise manager.
then simply execute:
select * into [fu].[bas].[fubas] from [foo].[bar].[foobar]
Done!
Works great for importing text too!!!
.
- References:
- Bulk copy question
- From: Madhu Gopinathan
- Re: Bulk copy question
- From: Stephen Howe
- Bulk copy question
- Prev by Date: OT: Pregunta sobre localhost loopback
- Next by Date: ADODB Stream direct to clipboard
- Previous by thread: Re: Bulk copy question
- Next by thread: Unable to open Excel file in read-only if file already open by another user
- Index(es):
Relevant Pages
|
|