Hello Sql Server pandits,
I have a requirement in which I have mentioned the ids of the records something like 2,15,4,1,45 and getting the records from the database having id as 2,15,4,1,45. However these records are coming in this order 1,2,4,15,45 (ascending order because this is the autoincrement field) but I want the records coming in the same order I have mentioned (2,15,4,1,45).
How to do that?