Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

update top 100 order by sql server

;WITH CTE AS 
( 
SELECT TOP 100 * 
FROM T1 
ORDER BY F2 
) 
UPDATE CTE SET F1='foo'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #top #order #sql #server
ADD COMMENT
Topic
Name
5+6 =