No, something like this SELECT column1, column2 + 3 AS NewQty FROM tablename WHERE id = 2
----- Original Message ----- From: "Adrian Lynch" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 10:48 AM Subject: RE: Adding Values (SQL) > Are you looking to add 3 to all the values in col2? > > -----Original Message----- > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > Sent: 05 July 2002 16:37 > To: CF-Talk > Subject: Adding Values (SQL) > > > I don't have any cheet sheets with me, but I need to do a simple query and > have an addition statement in the SELECT statment of a query. > > Something like: > > SELECT, column1, column2 + 3 AS NewQty > FROM..... > > Basically column2 is a numeric value and I want to add a number to it and > rename the Column to NewQty. > > Does anyone have the correct sytax? > > Thanks! > > Paul Giesenhagen > QuillDesign > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

