Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 July 30th, 2003, 07:04 PM
Authorized User
 
Join Date: Jun 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Text File

This question should probably be in the Sybase area - but may be solved using M$ DTS -

I have a DB called WIN_I on a Server, that I do not have SA permissions on - I can't create a table anywhere on my destination server.

I need to take a table from a production Server, different DB, same table name ENFACT - and sync up one column.

If it was on M$ - the code might look like:
Update Server2.dbo.WIN_I.Enfact
Set MyColumn=(Select MyColumn from Server1.dbo.WIN_I.Enfact)
Where Server1.dbo.WIN_I.Enfact.ID=Server2.dbo.WIN.Enfact .ID

Since Sybase doesn't have a DTS - and M$ DTS doesn't like useing Parameters or Lookups when going between an ODBC connection - I went the route of unloading the ENFACT table from my source Server - thinking I could somehow BULK Import into a temp table and do my update - but that isn't working for me neither.

Any ideas anyone?
__________________
_________________________
Joe Horton
Database Developer / Software Engineer
WISHA/Legal Services Software Development
Department of Labor and Industries
Voice (360) 902-5928 fax (360) 902-6200





Similar Threads
Thread Thread Starter Forum Replies Last Post
Read Text file and convert to Binary file VB.net sjlsysprg1 Pro VB.NET 2002/2003 4 June 29th, 2007 06:53 AM
Save PDF file as text file in VB.Net kvenkatu Classic ASP Basics 0 April 7th, 2006 01:09 PM
save a PDF file as text file through VB. NET kvenkatu VB.NET 0 April 6th, 2006 12:15 PM
SQL 2000 database / text file / binary file pallone Javascript How-To 3 January 28th, 2005 01:26 PM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM





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