![]() |
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. |
Re: SQL Query help
update tablename set columnname = "value"
can add a where columnname = "value" if you want to restrict this to certain rows |
Re: SQL Query help
Quote:
|
Re: SQL Query help
Quote:
|
Re: SQL Query help
Quote:
|
Re: SQL Query help
It is right. :)
|
| All times are GMT. The time now is 01:52. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum