473,394 Members | 1,494 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

inconsistent behaviour linked server?


my server configurations:
remote network: sql server 2000 (srvrR1)
local netwerk: server1 - sql server 2000 (srvrL1)
server2 - sql server 2000 (srvrL2)
- linked server to srvrR1
- linked server to srvrL1
I do al my work on server2 - srvrL2

What I do:
I synchronise data between srvrR1 and srvrL1.
In order to do so I use the wizard. But this is not satisfying. So I
created some scripts. See below.

update tbl2
set tbl2.fld1=tbl1.fld1
from srvrR1.database.owner.table1 as tbl1
join srvrR1.database.owner.table2 as tbl2
on (tbl2.id_fld = tbl1.id_fld);

update tbl3
set tbl3.fld1=tbl1.fld1
from srvrR1.database.owner.table1 as tbl1
join srvrL1.database.owner.table3 as tbl3
on (tbl3.id_fld=tbl1.id_fld);

executing the first script causes the following messages:
Server: Msg 8180, Level 16, State 1, Line 1
Statement(s) could not be prepared.
Server: Msg 209, Level 16, State 1, Line 1
Ambiguous column name fld1.
executing the second script causes the following messages:
(8 row(s) affected)
So, in my point of view, I run two almost the same scripts - both on
linked servers - and yet they have completely different outcome !!

This seems to me inconsequent behaviour.
Can someone explain this to me and, if possible, give guidelines to
solve the problem?

Jan Willems
Jul 20 '05 #1
0 1482

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Matt | last post by:
I'm new to Java but experienced with PL/SQL. I've found what appears to be strange behaviour (a bug?) when attempting to create java stored objects using the UNIX version of Oracle SQL*PLUS...
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
by: Igor Raytsin | last post by:
Hello All, The following script is reproducing the problem assuming you have Northwind database on the server. Please note it gives you the error message on line 12. USE tempdb GO...
by: David | last post by:
Hi, I created an MS Access 2000 front end a long time ago. We use it every day and everything works great. This MS Access DB is held in a folder on our Cobalt Qube server. On this server we also...
by: mike b | last post by:
Hi, I have been working with what i believe is, an poorly designed client/protocol, and this is causing me no end of headaches determining the end of a 'fragment'. The header of each fragment ends...
by: Frosty Madness | last post by:
I have the beginnings of a device emulator that sits on the network... ************** using System; using System.Threading; using System.Net; using System.Net.Sockets; using System.Text;
by: Abhishek Bhatt | last post by:
I need to import data programatically from spreadsheet file into database table. There are 30 such tables. User can upload multiple files at a time. For a table(which does not have any referential...
by: Daniel Kraft | last post by:
Hi, I did encounter a strange problem in my C program, and traced it down; it looks like I get different results for bit left shifts when the bit count is a constant or a funtion-return value. ...
by: cjard | last post by:
I have a client and server that enjoy the following simple dialogue: Client connects Client sends request Server sends response Client disconnects This is the way it must be. The response...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.