Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > ColdFusion > How do I update...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1673 of 1699
Post > Topic >>

How do I update a single column?

by "El Kabong" <davelong40@[EMAIL PROTECTED] > Jun 24, 2007 at 02:51 PM

The goal: New records in a table of service providers will be added by site

visitors via Web form and action pages but need to be approved before 
displaying on the Web site. To accomplish this, the display page will be 
populated by a query including a WHERE clause requiring " yes" in a newly 
added column. The action page will send an e-mail to notify the site 
moderator, who will in turn activate the record by editing a yes or no
radio 
button in the app's passworded back end.

The problem: In order to have the existing 13,000+ records continue to 
display, it will be necessary to update all existing records with a
default 
"yes" in this new column. How is that best done? Do I use a <CFLOOP> tag
or 
is the an attribute with <CFUPDATE> that will do the trick?

I've been searching through Ben Forta's ColdFusion MX WACK but haven't
found 
anything specifically applicable. If it's in there, a page number would be

helpful.

Thanks for the help.

El
 




 3 Posts in Topic:
How do I update a single column?
"El Kabong" <  2007-06-24 14:51:26 
Re: How do I update a single column?
Denard Springle <denar  2007-06-25 16:12:38 
Re: How do I update a single column?
"El Kabong" <  2007-06-25 21:31:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:43:51 CDT 2008.