modify a field in all records of a table

This is a discussion on modify a field in all records of a table within the MySQL Database forums, part of the Database Forums category; I have a field 'time_zone' which is wrong in all records of my table 'mdl_users' and I would like to ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2006
Josselin
 
Posts: n/a
Default modify a field in all records of a table

I have a field 'time_zone' which is wrong in all records of my table
'mdl_users' and I would like to set this field to a unique value '1.0'
in all records...
is ther a way to do it using phpmyadmin ? or should I use an sql command ?

TFYH

Joss

Reply With Quote
  #2 (permalink)  
Old 05-04-2006
Josselin
 
Posts: n/a
Default Re: modify a field in all records of a table

On 2006-05-04 01:12:02 +0200, "Peter H. Coffin" <hellsop@ninehells.com> said:

> On Thu, 4 May 2006 00:01:03 +0200, Josselin wrote:
>> I have a field 'time_zone' which is wrong in all records of my table
>> 'mdl_users' and I would like to set this field to a unique value '1.0'
>> in all records...
>> is ther a way to do it using phpmyadmin ? or should I use an sql command ?

>
> sql command.


thanks

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0