Skip to main content
Inspiring
March 19, 2009
Question

Changing multiple records simultaneously

  • March 19, 2009
  • 2 replies
  • 342 views
Is there a way of quickly changing the value of a field for multiple records in a batch?

I want to change the value of a field for all records from Y to N.

Eirther using SQL / phpMyAdmin, or some other way via DW?

Cheers.
This topic has been closed for replies.

2 replies

Inspiring
March 19, 2009
Iain71 wrote:
> I want to change the value of a field for all records from Y to N.

UPDATE myTable
SET fieldName = 'N'
WHERE fieldName = 'Y'

--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
DwFAQ
Participating Frequently
March 19, 2009
Update record server behavior