On 2/1/2011 1:23 PM, Debbie Morris wrote:
> What am I overlooking?

The evil of using * in SELECT clauses.

When that is done, database drivers are know to cache the columns and 
datatypes of the SQL queries.  Then somebody comes along and changes the 
database structure, like you adding a field.  Now the database structure 
does not match the cached structure stored by the database driver and 
this type of disconnect occurs.

The solution:  Replace those p.* and pt.* short cuts with that actual 
columns you need in your record set.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to