m**** 2022.08.24 17:32 Views : 166
안녕하세요
aaa 라는 필드에
update AAAAA
set aaa=데이타가 100개 있다면 1부터 100깨씩 번호를 주어서 update 하고 싶습니다.
어떻게 해야 할까요?
2022.08.24 22:54
rank, dense_rank, row_number .. 참고가 될런지요.
cmd_comment_vote_user Upvote0 Downvote0 Comment
2022.08.26 16:51
update a
set aaa = ROW_NUMBER() over (order by bbb)
from AAAAA a
Drop your files here, or click the button to the left.
Maximum File Size : 0MB (Allowed extentsions : *.*)
Uploading... (0%)
Keep me signed in.
rank, dense_rank, row_number .. 참고가 될런지요.