pucca
March 27th, 2006, 09:14 AM
I want to random select 5 records from my database.. I got this code,
SELECT Top 5 * FROM comptbl ORDER BY NewID()
but its gives me an error saying "Undefined function 'NewID() in expression."
What must I do?
thanks for the help! :puzzled:
SELECT Top 5 * FROM comptbl ORDER BY NewID()
but its gives me an error saying "Undefined function 'NewID() in expression."
What must I do?
thanks for the help! :puzzled: