Re: Slightly OT - maybe just SQL not php

From: Date: Tue, 21 Aug 2001 10:57:55 +0000
Subject: Re: Slightly OT - maybe just SQL not php
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11593@lists.php.net to get a copy of this message
update table1 set field1=CONCAT('N',field1); should work, haven't tested it though. Steve "George Pitcher" <fmdev@yahoo.co.uk> wrote in message news:00e101c12a13$2db49880$630db092@napier.ac.uk... > Hi all, > > I have a MySQL table with approx 350,000 records (US aviation register) and > the way the FAA produce it is without the 'N' prefix which I wish to add. > Can anyone point me to a sql command which will upodate the N-Number field > to 'N' + N-Number field? > > George, Edinburgh > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >

« previous php.db (#11593) next »