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
How do I place an image next to a database item in SQL Reporting Services
Adding an attribute to the xml root using FOR XML PATH syntax
I need help with DoCmd.DoMenuItem acFormBar command number
Unable to see embedded file in Word document
How to Call MDI Child Events from MDI Parent...not all MDI Children are the same form
SQL Reporting Services - Format Datetime {0:D} culture?
system interrupt controller missing driver
Disable Enter key in Datagrid
How do you show deadlocks in SQL Server 2008?
Creating a directory path string based on choices in a form