I have table friends, defined as

UserId int PrimaryKey

OtherUserId int PrimaryKey

Currently, i have the following data

UserId OtherUserId

1 2

I do not want duplicate enteries like

UserId OtherUserId

2 1

how can i implement this using SQL Server?