General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Would this worked?
UPDATE dbo.myTable SET column1=MyFunction(column1),@myValue=MyFunction(column1) WHERE selectTheRow
UserDefine function
---------
MyFunction(@Number)
return @Number + 1
Just an example, maybe sintax is not correct
Only if MyFunction() is deterministic.
Fabio
Previous
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