How to select 100 unique codenumber from a table such that every observation of the unique codenumber will be pulled?

```
select top 100* from srv.table01 #THIS WONT WORK

```

table01 contains columns of codenumber, date, transtype

sample would be below: I want to get 100 unique code numbers from my table such that all observation of those 100 unique code will be included

```
codenumber    date    transtype
132        09/09/09    Cash
132        09/05/09    Cash
132        09/22/09    Card
132          .
222          .
132        09/23/10    Card
123
311
523
334
132

```

Thank you