Hint look at the SELECT INTO Statement


-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 8:16 AM
To: CF-Talk
Subject: RE: SQL Update - Now I'm royally confused


> I have not tested this but try
>
> UPDATE t1
> SET table1.Title=table2.Title,
>     table1.Body=table2.Body,
>     table1.Section=table2.Section
> FROM table1 t1
> INNER JOIN table2 t2 ON(t1.ID = t2.ID)
>
> I think the way you are doing it will not work
> because of your placement of the join clause.

Jeremy, you da man!

My brain is completely fried today, so anything more complex than SELECT ID
FROM TABLE seems to be foxing me today...

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to