Update query SQL2000
From: Newbie (noidea_at_nospam.com)
Date: 01/13/05
- Next message: Newbie: "Re: Update query SQL2000"
- Previous message: Steve: "Extrating Data from One Database from Another"
- Next in thread: Newbie: "Re: Update query SQL2000"
- Reply: Newbie: "Re: Update query SQL2000"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 08:55:18 -0000
Hi
I am trying to write an update query that update the BG1 field in the
Customer table with the BG value in the Agreements Table from a different
database.
Here is what I have so far . . . but it doesn't work - I get the error
Server: Msg 8152, Level 16, State 2, Line 1
String or binary data would be truncated.
The statement has been terminated.
UPDATE tblCustomer SET BG1 = A.BG From tblCustomer C, MIS.dbo.Agreements A
WHERE C.Customer = A.Customer
What am I doing wrong?
- Next message: Newbie: "Re: Update query SQL2000"
- Previous message: Steve: "Extrating Data from One Database from Another"
- Next in thread: Newbie: "Re: Update query SQL2000"
- Reply: Newbie: "Re: Update query SQL2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|