- Open the design table tab
- Highlight your two INT fields (Ctrl/Shift+click on the grey blocks in the very first column)
- Right click -> Set primary key
More Related Contents:
- DateTime2 vs DateTime in SQL Server
- How to generate a range of numbers between two numbers?
- How to select all records from one table that do not exist in another table?
- SET versus SELECT when assigning variables?
- T-SQL dynamic pivot
- Avoid duplicates in INSERT INTO SELECT query in SQL Server
- Generate Dates between date ranges
- Select group of rows that match all items in a list
- Add Foreign Key relationship between two Databases
- SQL Server check case-sensitivity?
- How to print VARCHAR(MAX) using Print Statement?
- How to assign an exec result to a sql variable?
- Concatenate values based on ID
- Query error with ambiguous column name in SQL
- Why (and how) to split column using master..spt_values?
- Splitting delimited values in a SQL column into multiple rows
- What does =* mean?
- SQL: parse the first, middle and last name from a fullname field
- Why and when a LEFT JOIN with condition in WHERE clause is not equivalent to the same LEFT JOIN in ON? [duplicate]
- SQL Select Upcoming Birthdays
- Script to kill all connections to a database (More than RESTRICTED_USER ROLLBACK)
- CTE error: “Types don’t match between the anchor and the recursive part”
- TransactSQL to run another TransactSQL script
- How do I remove extended ASCII characters from a string in T-SQL?
- Getting Dates between a range of dates
- The most elegant way to generate permutations in SQL server
- Use variable with TOP in select statement in SQL Server without making it dynamic [duplicate]
- Compare dates in T-SQL, ignoring the time part
- SHOW ALL Dates data between two dates; if no row exists for particular date then show zero in all columns
- Removing duplicate rows (based on values from multiple columns) from SQL table