Compounds useful for treating hyperglycemia.Claim 1: a method for preparing a compound of the formula (1), characterized in that it comprises: (a) forming a reaction mixture comprising a compound of the formula (2), a complex of alquilmagnesio selected from the group consisting of c u2081 u208b alkyl chloride u2084magnesio, c u2081 u208b u2084magnesio di (alkyl bromide, Magnesium chloride, alkyl c u2081 u208b u2084) cicloalquil c u2083 u208b u2087magnesio,Cicloalquil c u2083 u208b u2087magnesio bromide and magnesium di (cicloalquil c u2083 u208b u2087), and a First Organic Solvent, where the proportion of the alquilmagnesio Complex Compound of the formula (2) is less than or equal to 1.0 (mol / mol), and where the first reaction mixture is at a temperature To less than approximately - 25%To give an intermediate compound; and (b) forming a reaction mixture comprising the second intermediary, a Second Organic Solvent, and a compound of the formula (3) preparing the compound of the formula (1), where X is a Bromine or Iodine, and is selected from the group consisting of Chr u1d9c, C (= o), o, and S; Z is selected from the group consisting ch u2082or u1d43, or u1d43, sr u1d43,S (OR) is r u00b9 u2098 - r u1d43; Chlorine; each R u00b2 and r u00b3 independently selected among the group consisting of hydrogen, alkyl c u2081 u208b u2083, Halo, Hydroxy, alkoxy - ch u2082or u1d43, alquenilo c u2082 u208b u2084, c u2081 u208b u2083, c u2083 u208b u2086 (cycloalkyl alkyl, alkoxy c u2081 u208b u2083) c u2081 u208b u2083 (haloalcoxi c u2081 u208b u2083) C u2081 u208b u2083 alkyl (alkyl c u2081 u208b u2083 alqueniloxi c u2082 u208b u2084), (alquiniloxi c u2082 u208b u2084) alkyl (alkyl c u2081 u208b u2083, cicloalcoxi c u2083 u208b u2086) c u2081 u208b u2083, hidroxialcoxi c u2081 u208b u2083, cicloalcoxi c u2083 u208b u2086,Heterocicloalcoxi c u2083 u208b u2086 (alkoxy c u2081 u208b u2083 c u2081 u208b u2083 (alkoxy), haloalcoxi c u2081 u208b u2083 c u2081 u208b u2083 (alkoxy),