muhammadadilmalik
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by muhammadadilmalik
-
-
random record
in SQL
my dear thanx for your replyi have try this query but here is a problem. i am making a system that will generate random question and every time unique set of question. please chek this query it will generate every time same set of valuesSelect an additional field with a random value in it. Use your unique identifier, which I presume you've called ID, as the seed:SELECT Rnd(Table1.ID) as Bunny, * From Table1 ORDER BY Bunny;
If you execute a query in forward-only, read only mode, this should work just fine, otherwise you might have some unusual behavior. If you are run this query in one of the dynamic modes and try to sort, then a new set of random values will be generated, and the old ones will be erased (and so will your old ORDER BY).
-
random record
in SQL
how we can get random record where the no. of record is variable. i am using the database "MS Access"thanx
-
the other half is post first five to 10 linesYeah what is the other half?
retrieving latest info
in SQL
Posted