SQL Server Next image name from SQL

ibrsph3r  于 2023-06-21  发布在  其他
关注(0)|答案(1)|浏览(146)

I am trying to create a gallery for my Web, I need to make two buttons, next and prev. I generate image name from SQL table and I am trying to make a function, when you click "next arrow" to take next image name from the table and when you click "prev arrow" you take previous name from it. Is there any simple call in SQL to get value of next column image name ?

I tried to look it up before I posted it here but couldn't find anything specific

mjqavswn

mjqavswn1#

No you can't do like this, just call all rows and from array with coding language you can choose next value.

相关问题