Click here to Skip to main content
15,886,534 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
heyy...

how to alter data in a field by selecting all data from that table
Posted
Comments
Sudhakar Shinde 31-May-13 4:02am    
What do you mean by alter the data? Do you want to update the data or modify the table structure by changing/adding the column.
aravindnass 31-May-13 4:42am    
I want select all records from the table(about 2000 records are there ) and update data in a specific field..

1 solution

The UPDATE statement is used to update existing records in a table.

SQL UPDATE Syntax

UPDATE table_name
SET column1=value1,column2=value2,...
WHERE some_column=some_value;




Kishor Makwana
Software Engineer
Insight Softech
www.insightsoftech.com
 
Share this answer
 
Comments
aravindnass 31-May-13 4:42am    
I want select all records from the table(about 2000 records are there ) and update data in a specific field..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900