Hej!
Kan på något sätt göra en SELECT fråga som slumpvis plockar en post ur databasen ?
/t
------------------
the man with the golden bottle..
4 svar · 239 visningar · startad av tlee
Hej!
Kan på något sätt göra en SELECT fråga som slumpvis plockar en post ur databasen ?
/t
------------------
the man with the golden bottle..
Just nu använder jag ASP och Access.
I framtiden byts förhoppningsvis Access ut mot MS SQL 2000.
/t
------------------
the man with the golden bottle..
Hmm, skulle gärna vilja ha en sträng som fungerade till SQL 2000
ingen som vet?
Jag har letat lite och hittat en funktion som heter RAND, får den dock inte att funka någe vidare.
---------------------------------------
The schema is SYSFUN.
Returns a random floating point value between 0 and 1 using the argument as the optional seed value.
An argument is not required, but if it is specified it can be either INTEGER or SMALLINT.
The result of the function is a double-precision floating-point number. The result can be null; if the argument is null, the result is the null value.
Skulle den funktionen funka och kan någon ge ett exempel på hur man kan använda den?
/t