Thanks Barney,
This one works.

But wonder why the other one doesn't. Thought it would be good to know.

Ben
----- Original Message -----
From: "Barney Boisvert" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, October 20, 2005 12:22 PM
Subject: Re: WHAT'S WRONG WITH THIS QUERY?


> Did you try this (or something like it)?
>
> update newproduct set
> details = (select details from oldproduct where dealerpartno =
> newproduct.dealerpartno)
>
> cheers,
> barneyb
>
> On 10/19/05, Nomad <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > This query works fine with Access.
> >
> > With SQL server it creates an error.
> >
> > Here's the query:
> >
> > UPDATE NewProduct INNER JOIN OldProduct ON NewProduct.dealerpartno  =
> > OldProduct.dealerpartno SET NewProduct.details = OldProduct.details
> >
> >
> > Much appreciate any help in debuging.
> >
> > Thanks in advance.
> >
> > Ben
> >
>
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
>
> Got Gmail? I have 100 invites.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221579
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to