SELECT TOP 1 *
FROM tb
WHERE id<=abs(checksum(newid()))%(select rowcnt from SYSINDEXES where id=object_id('tb') and indid<2 )+1
ORDER BY ID DESC

相关文章:

  • 2022-01-08
  • 2021-09-29
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2021-10-02
  • 2021-10-26
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案