Hi.
I have a table containing project numbers which are numbered as follows
1000N
1000S
1000T
1000X
through to
9999N
9999S
9999T
9999X
The suffix letter indicates a department of the company.
We have changed our reporting requirements to dispense with individual departments, and instead to report under one heading 'H'
I have therefore created a whole new list of projects
1000H
through to
9999H
based on existing project numbers. Obviously this has left me with duplicated numbers e.g. 4 occurrences of 1000H etc.
Can anyone help with a SQL script which will delete the duplicates, leaving me with just 1 occurrence of each project?
Any help appreciated!
I have a table containing project numbers which are numbered as follows
1000N
1000S
1000T
1000X
through to
9999N
9999S
9999T
9999X
The suffix letter indicates a department of the company.
We have changed our reporting requirements to dispense with individual departments, and instead to report under one heading 'H'
I have therefore created a whole new list of projects
1000H
through to
9999H
based on existing project numbers. Obviously this has left me with duplicated numbers e.g. 4 occurrences of 1000H etc.
Can anyone help with a SQL script which will delete the duplicates, leaving me with just 1 occurrence of each project?
Any help appreciated!