Microsoft
Software
Hardware
Network
Question : Sql Non Disctinct possibility ?
I would like to know if it's possible with an sql query to do thing like non distinct.
i explain, i'd use query like :
select * from my datatable where pk=5 or pk = 8 or pk = 5
Actually i get 2 lines where pk=5 or 8
I'd like if i send pk more than once that i get it more than one in the result of the query. So for the query i'll have 3 Lines and 2 times the line with the pk 5.
Thanks for your help
Alex
Answer : Sql Non Disctinct possibility ?
select * from my datatable where pk=5
union
select * from my datatable where pk=5 or pk = 8 or pk = 5
Random Solutions
Visual Studio 2005 Error - Build failed failed because "sgen.exe" was not found
Load Picture Box Image from DataGridView Image Column
Find and Delete a record on another table
Automatically inserting records in a temp table
Visual Studio 2008 Pro Trial does work with SQL 2008 CTP Trial
How to host a web site on IIS
Microsoft SQL 2005
For i=0 to UBOUND(RegValueName) Type Mismatch: 'UBOUND'
Preventing Outlook Calendar Conflicts
Can't run eseutil on Exchange 2k3 server