Cookie Consent by Free Privacy Policy Generator
Privacy
Polipone
<febbraio 2025>
lunmarmergiovensabdom
272829303112
3456789
10111213141516
17181920212223
242526272812
3456789
Immagini  

ACCESS - Select Random

Per selezionare un record casuale da una tabella, è necessario che questa abbia un campo chiave autoincrementale. La sintassi della select è la seguente:

 

SELECT TOP 1 FIELD1, FIELD2

FROM TABLE1

order by rnd(INT(NOW*ID)-NOW*ID)

 

Dove ID è il campo chiave della TABLE1

Notifiche