|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
If I am returning more than one colimn, do I have to do a select distinct on every column? How can I output only unique records? Thanks ![]() |
|
#2
|
||||
|
||||
|
When doing SELECT DISTINCT...any columns listed will be included.
SELECT DISTINCT * will return all distinct records, except for duplicates. |
|
#3
|
|||
|
|||
|
Weel, I have colums that are ntext that cannot use Select DISTINCT so how would I get around this?
Thanks |
|
#4
|
||||
|
||||
|
text columns should be placed in a separate table and referenced to the parent table through a foreign key.
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Select Distinct |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|