General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2000 Server
sir, I have one more qustions, if this table contains three fileds then how can i update
iduvidualy in a single statement.
UPDATE mytable
SET myfield = @NewValue
WHERE < whetever conditions >
AND myfield <> @NewValue
>
>While updating data in the server, i want to skip the field if and only if the new value
>and old the values are same. Othewise i want to update the field with new value.
>how will i write Sql Statement for this.
>
Regards
Abdulla
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only