Thread: SQL Query help
View Single Post
Old 06-04-2004, 13:31   #1
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
SQL Query help

Need a spot of help, I have a SQL database I need to insert values in to.

Basically the table has 10 columns, all with data in, but there's a column I need to populate with a set bit of text, I tried

INSERT INTO homes
(agent)
values (whatever)

but obviously this just creates a new row with nothing populated in the other columns .. so er, how do I insert a value into 'agent' for all the current rows?

Thanks.
Bifta is offline   Reply With Quote