Seems to work in SQL Server 7 :O)
-----Original Message----- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: 05 July 2002 16:55 To: CF-Talk Subject: Re: Adding Values (SQL) 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 > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists