Question : sql syntax

hello
i am trying to grab the value from the second colum and insert it into the third column of the same table

 INSERT INTO pc_invoice(gID)
SELECT LEFT(Title,14) FROM PC_INVOICE

its actually inserting new rows, can someone shed some light here?

thanks
Code Snippet:
1:
2:
3:
4:
5:
id              title                   gid
GFR120821555952	WIZARBVYABAMTN The Oz	NULL
GFR120822040974	WIZARUW92W24UT The Oz	NULL
GFR121019063673	WIZAR4MGM7LMP3 The Oz	NULL
GFR121019065386	PRIDEGPG2SZ6XZ Prideice	NULL

Answer : sql syntax

update pc_invoice
SET gid = LEFT(Title,14)
Random Solutions  
  •  Creating event "boxes" around a clock (powered by Events list)
  •  I have a Windows Server 2003 OEM key, but only a Windows 2003 Server Enterprise Edition Disk. How can I use the Enterprise edition disk to install regular Server (non-enterprise)?
  •  Where are my e-mail messages?
  •  TextBox and Validation Rule
  •  I need my DateTimePicket to only allow dates for this year (vb.net)
  •  I changed the motherboard and cpu on a panasonic cf-50 laptop. my hard drive is blue screening because of the new hardware How can I fix this without having to reformat the drive?
  •  User Search and  Disabling Application by Active Directory
  •  OpenRecordSet querydef with parameter problem Access 97
  •  Multiline Label control in ASP.net
  •  how to implement insert,delete,update and selete operations using MVVM design pattern in WPF application
  •  
    programming4us programming4us