Hi,
I have setup replication but it's not very stable i.e sometimes the
connection is bad, in this case will using bcp & bulk insert help to allow
me to transfer the data faster ?
i have tried to use the following commands :
bcp "SELECT au_fname, au_lname FROM pubs..authors ORDER BY au_lname" queryout
Authors.txt -c -Sservername -Usa -Ppassword
but how or where shld i put in the -t for using pipe ( | ) and -r for \n ?
appreciate ur advise
Raymond Mak [MSFT] - 26 Jun 2006 17:45 GMT
Replication uses bcp under the cover. If your network link is not reliable
enough for transferring the initial data set, perhaps you can copy the
generated snapshot data to the subscriber using some other means (e.g. a usb
hard disk) and then use the alternate snapshot folder feature to apply the
snapshot from a different location?
Hope that helps.
-Raymond
> Hi,
>
[quoted text clipped - 11 lines]
>
> appreciate ur advise
maxzsim - 27 Jun 2006 02:38 GMT
hi,
it's actually quite impossible for me to copy the snapshot data to a usb hdd
as the subscriber is in another country..
is there other method ?
tks & rdgs
>Replication uses bcp under the cover. If your network link is not reliable
>enough for transferring the initial data set, perhaps you can copy the
[quoted text clipped - 10 lines]
>>
>> appreciate ur advise
Hilary Cotter - 27 Jun 2006 13:38 GMT
If you can't transfer it to physical media which you can ship to the
subscriber you have to use a snapshot and a unc or ftp copy.

Signature
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> hi,
>
[quoted text clipped - 21 lines]
>>>
>>> appreciate ur advise
maxzsim - 28 Jun 2006 02:34 GMT
i guess i have no choice but it'll be slow still(the transfer)
tks & rdgs
>If you can't transfer it to physical media which you can ship to the
>subscriber you have to use a snapshot and a unc or ftp copy.
[quoted text clipped - 4 lines]
>>>>
>>>> appreciate ur advise
Paul Ibison - 26 Jun 2006 17:47 GMT
Are you looking for an alternative to the initial snapshot initialization
process? You might want to consider backup and restore and do a nosync
initialization. In SQL Server 2005 this process has been further simplified
using the 'replication support only' option.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
maxzsim - 27 Jun 2006 01:54 GMT
yes is it done thru the articles where i go to the snapshot and specify one
of the options instead of drop and recreate table ?
or how can i set it to do a no sync initialization ?
appreciate ur advice
tks & rdgs
>Are you looking for an alternative to the initial snapshot initialization
>process? You might want to consider backup and restore and do a nosync
[quoted text clipped - 4 lines]
>(recommended sql server 2000 replication book:
>http://www.nwsu.com/0974973602p.html)
Paul Ibison - 27 Jun 2006 20:36 GMT
Please have a look at these articles for more info on nosync
initializations:
http://www.replicationanswers.com/NoSyncInitializations.asp
http://www.replicationanswers.com/NoSyncOn2005.asp
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
Hilary Cotter - 26 Jun 2006 20:21 GMT
I would urge you to use the sync with backup option in SQL 2005, or if you
are using merge replication in SQL 2000 use the copy subscription database
method.

Signature
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> Hi,
>
[quoted text clipped - 11 lines]
>
> appreciate ur advise
maxzsim - 27 Jun 2006 02:02 GMT
hi ,
i am using SQL 2000 and using txn replication . is it able to use the copy
subscription database method ?
tks & rdgs
>I would urge you to use the sync with backup option in SQL 2005, or if you
>are using merge replication in SQL 2000 use the copy subscription database
[quoted text clipped - 5 lines]
>>
>> appreciate ur advise
Hilary Cotter - 27 Jun 2006 02:44 GMT
No, its for merge only and for subscribers under 2 gigs.

Signature
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> hi ,
>
[quoted text clipped - 12 lines]
>>>
>>> appreciate ur advise
maxzsim - 27 Jun 2006 05:09 GMT
tk you for the advice
>No, its for merge only and for subscribers under 2 gigs.
>
[quoted text clipped - 3 lines]
>>>>
>>>> appreciate ur advise