Hi,
I am using SQL Server 2000. I am not using any Primary Keys in my table.
Table Fields:
rollno crseid semester period[/b]
s1 61820 01 JUL-NOV 2010
s1 84280 01 JUL-NOV 2010
s1 61800 01 JUL-NOV 2010
s1 61810 01 JUL-NOV 2010
s1 99830 01 JUL-NOV 2010
s1 99790 01 JUL-NOV 2010
s1 99790 01 JUL-NOV 2010
See the 6th and 7th record, you find the duplicate crseid(99790) for the same rollno and the period.
I want to avoid this. Please help me out.Thanks in advance