Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Changing multiple records simultaneously

Enthusiast ,
Mar 19, 2009 Mar 19, 2009
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.
TOPICS
Server side applications
346
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Mar 19, 2009 Mar 19, 2009
Update record server behavior
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 19, 2009 Mar 19, 2009
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines