Please read the tutorial, let us know if you have questions on the information 
in it:
http://dev.mysql.com/doc/refman/5.0/en/tutorial.html



-----Original Message-----
From: Carlos Mennens [mailto:carlosw...@gmail.com]
Sent: Thursday, March 11, 2010 12:44 PM
To: MySQL
Subject: Properly ALTER Column Data?

I know this is very basic for most on the list but I need some MySQL
help. I am logged into my database and I successfully changed a 'field
type' from INT to VARCHAR. Now I need to modify the actual data I
inserted into those specific fields. I checked the manual and could
not really gather exactly how to format my command. There was just so
many options and information on the page...

My table data is as follows and I would like to 'ALTER' the data in
all three 'Serial' fields:

mysql> select Model, Serial, GFE, EOL from sun;
+----------+--------+------+------------+
| Model    | Serial | GFE  | EOL        |
+----------+--------+------+------------+
| Ultra 24 | 941    | 8402 | 2010-10-16 |
| 7310     | 934    |    9314 | 2012-08-27 |
| J4400    | 926    |    7623 | 2012-08-27 |
+----------+--------+------+------------+
3 rows in set (0.00 sec)

Can someone please help me understand how I am to properly use and
change the data in MySQL?

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=gto...@ffn.com


This message contains confidential information and is intended only for the 
individual named.  If you are not the named addressee, you are notified that 
reviewing, disseminating, disclosing, copying or distributing this e-mail is 
strictly prohibited.  Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your system. 
E-mail transmission cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any loss or damage caused by viruses or errors or omissions in the contents 
of this message, which arise as a result of e-mail transmission. [FriendFinder 
Networks, Inc., 220 Humbolt court, Sunnyvale, CA 94089, USA, FriendFinder.com

Reply via email to