Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 16th, 2008, 03:45 AM
Registered User
 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Alternative of BCP Utility to update Database

How do we update the Database using BCP utility
if there is no sql server installed in the client
machine......

Is there any alternative to update Database
instead of DTS and BCP Utilities


regards
Rajnikant Bal

 
Old January 16th, 2008, 07:27 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Have you tried just copying the BCP utility to the client machine.

Also, I think this would be better in an SQL forum, rather than the C# forum.

/- Sam Judson : Wrox Technical Editor -/
 
Old January 16th, 2008, 12:11 PM
Registered User
 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thankx for your suggestion SAM
but i forget to mention that i am
calling the bcp process from my windows application


Previously i used to call a stored proc to update table in
Database1... and in result there was a trigger which updated the
table in different Database2...

It was too cumbersome and took lot of time to load and update
Then i thought of using BCP/DTS for updating the tables in the
database and then call a stored proc which updates the other database



But if we go for BCP/DTS then we have to install it in the
client side, which is again a overhead



So my issue was whether there is any other alternative
other than bcp/dts to
copy table values from file to database or vice-versa.

rajnikant january 16


 
Old January 16th, 2008, 12:46 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

DTS is a server based technology (not client), so that would be the solution if the trigger is taking too long to update - rather than having everything in the trigger simply put it in a DTS package and have the trigger start the DTS pacakge.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cool utility Yurko SQL Server 2000 3 December 2nd, 2005 11:03 AM
Using bcp Utility in SQL devrishi SQL Server 2000 4 November 24th, 2004 03:47 AM
Aspnet_regiis utility ak ASP.NET 1.0 and 1.1 Basics 1 March 5th, 2004 01:17 PM
vb utility kumarpa Access 0 March 1st, 2004 05:56 AM
Bcp utility jejyjose SQL Server 2000 1 October 16th, 2003 08:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.