Posts

Showing posts from November, 2010

feeling like a nub.. an awesome feature existed since coldfusion 7

Image
Yep, I feel like I know coldfusion pretty well. Well I thought I did... Today, I was looking over cfquery (and now I forget why), but noticed there is an attribute called "RESULT".  I guess I need to go over all the things added since CFMX. But anyways I quickly wrote a quick page to do insert, select, and delete. <cfquery name="iRtr" datasource="commons" result="rRtr"> insert into staff.dbo.test (testData) values('test1') </cfquery> <cfdump var="#rRtr#"> <cfquery name="qRtr" datasource="commons" result="rRtr"> SELECT * FROM staff.dbo.test </cfquery> <cfdump var="#qRtr#"> <cfdump var="#rRtr#"> <cfquery name="dRtr" datasource="commons" result="rRtr"> delete FROM staff.dbo.test </cfquery> <cfdump var="#rRtr#"> And to my suprise, there were some really cool things tha...