Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
imranabdulaziz
Yak Posting Veteran
83 Posts |
Posted - 2009-06-10 : 09:04:11
|
| Deal all,I am using sql server 2005.I have a table where contains paperid and question id and I show all the question related to paperidNow I want every user must see different order of question set . that isIf table contains Paperid questionedA0001 1A0001 2A0001 3A0001 4Now User ‘A’ must see question paper in 2341 questionwise or B must see 1234 Every user must see paper in random order Please suggest How to implement this |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-06-10 : 09:06:04
|
| select Paperid, questioned from your_tableOrder by newid()MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|