Thursday, May 26, 2011

Tạo số thự tự trong kết quả trả về với SQL Server

Select Row_number() over(order by employeeid) STT, * from Employees

[caption id="attachment_302" align="aligncenter" width="300" caption="Tạo số thứ tự cho câu lệnh Select với SQL server"]Tạo số thứ tự cho câu lệnh Select với SQL server[/caption]

Goodluck

4 comments:

  1. nhìn như trong dataset không hỗ trợ cấu trúc này ak.

    ReplyDelete
  2. I'm not sure why but this site is loading incredibly slow for me.
    Is anyone else having this problem or is it a problem on my end?
    I'll check back later on and see if the problem still exists.

    ReplyDelete
  3. Hi,
    This is free blog from wordpress, so i'm not sure your problem

    ReplyDelete

Translate