P
Pradeep
I have one problem in getting Results using select Query...
Query:
------------ -
Select product_sys_ id,product_ name from Product where product_sys_
id in(9,6,4,1,2) ;
ResultActual)
------------ --------- --------- ----
product_sys_ id product_name
------------ --------- --------- --------- -----
1 PR1
2 PR9
4 PR5
6 PR787
9 PR657
Observe that in the Result product_sys_ ids are getting in the sorted
order not in the order specified in the Select Query...
I want to get the Result of product_sys_ ids in the order specified
in the select
Query....i.e. ,
ResultExpected)
------------ --------- ------
product_sys_ id product_name
------------ --------- --------- --------- -----
9 PR657
6 PR787
4 PR5
1 PR1
2 PR9
Can anybody know the solution ???
Query:
------------ -
Select product_sys_ id,product_ name from Product where product_sys_
id in(9,6,4,1,2) ;
ResultActual)
------------ --------- --------- ----
product_sys_ id product_name
------------ --------- --------- --------- -----
1 PR1
2 PR9
4 PR5
6 PR787
9 PR657
Observe that in the Result product_sys_ ids are getting in the sorted
order not in the order specified in the Select Query...
I want to get the Result of product_sys_ ids in the order specified
in the select
Query....i.e. ,
ResultExpected)
------------ --------- ------
product_sys_ id product_name
------------ --------- --------- --------- -----
9 PR657
6 PR787
4 PR5
1 PR1
2 PR9
Can anybody know the solution ???