Ranga_The_Donga Posted November 14, 2011 Report Posted November 14, 2011 I need to update a table based on cases...based on comparison between two tables. [b]case 1.[/b] Table A ---Col1 -- 1234 Table B -----Col1 --- 0123,1234 (multiples) then Update Table A---col1 as [color=#b22222]*[/color] [b]Case 2[/b] Table A ----Col 1 ---1234 Table B ----Col1 --- 5678 then Update Table A ---col 1as [color=#b22222]5678[/color] [b]Case 3:[/b] Table A ----Col 1 --- * Table B ----Col 1----1234, 0456 (multiples) Then update Table A---col1 as [color=#b22222]*[/color] [b]Case 4 :[/b] Table A ---Col 1-----* Table B ----Col1 ----- 1234 Then update Table A col1 as [color=#b22222]1234[/color]
Ranga_The_Donga Posted November 14, 2011 Author Report Posted November 14, 2011 [quote name='nickrayudu' timestamp='1321297928' post='3092661'] merge statement use chey [/quote] can u gimmie an example using above.....
Ranga_The_Donga Posted November 14, 2011 Author Report Posted November 14, 2011 [quote name='galigannarao' timestamp='1321298368' post='3092676'] Naku clear idea ravatledu baa [/quote] neeku PM petta ba.....
Recommended Posts