Re: MySQL Command to edit a single record

2002-12-21 Thread Jeffrey Ellis
uery adds NAME and ADDRESS (where the last name is >>>>> wrongly placed) and set ADDRESS to an empty string. >>>>> >>>>> UPDATE tablename SET FullName=CONCAT(FullName,Address),Address='' >>>>> WHERE ID= >>>>>

Re: MySQL Command to edit a single record

2002-12-21 Thread Adolfo Bello
>>> Jeff, > >>>> > >>>> Are you looking for an update table syntax? > >>>> > >>>> Example > >>>> Update tablename > >>>> Set FullName="Their Full Name" where someotherfield="s

Re: MySQL Command to edit a single record

2002-12-21 Thread Jeffrey Ellis
mple >>>> Update tablename >>>> Set FullName="Their Full Name" where someotherfield="someother value"; >>>> >>>> Careful with this one. As if you omit the where clause it will update >>>> every record! >>>>

Re: MySQL Command to edit a single record

2002-12-21 Thread Adolfo Bello
;> Set FullName="Their Full Name" where someotherfield="someother value"; > >> > >> Careful with this one. As if you omit the where clause it will update > >> every record! > >> > >> > >> > >> -Original M

Re: MySQL Command to edit a single record

2002-12-21 Thread Jeffrey Ellis
>> >> >> >> -----Original Message- >> From: Jeffrey Ellis [mailto:[EMAIL PROTECTED]] >> Sent: Saturday, December 21, 2002 3:52 PM >> To: [EMAIL PROTECTED] >> Subject: MySQL Command to edit a single record >> >> Hi-- >> >

RE: MySQL Command to edit a single record

2002-12-21 Thread Adolfo Bello
Original Message- > From: Jeffrey Ellis [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 21, 2002 3:52 PM > To: [EMAIL PROTECTED] > Subject: MySQL Command to edit a single record > > Hi-- > > I have just begun using MySQL...I am using a program called MySQL to > m

RE: MySQL Command to edit a single record

2002-12-21 Thread Jim Hankins
Ellis [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 3:52 PM To: [EMAIL PROTECTED] Subject: MySQL Command to edit a single record Hi-- I have just begun using MySQL...I am using a program called MySQL to manage an online database. I can see the entire table I need and all the recor

MySQL Command to edit a single record

2002-12-21 Thread Jeffrey Ellis
Hi-- I have just begun using MySQL...I am using a program called MySQL to manage an online database. I can see the entire table I need and all the records in that table for the db I¹m working with. I have a field called fullname which is supposed to receive the full name of the person entering the