hi i have the following syntax in Ms-Sql procedure ...

Code:
			FETCH Node INTO 
				@Ip ,
				@HostName ,
				@TypeName ,
				@MacAddress, 
				@DateModified,
				@PollFrequency,
				@ModelID

				

			WHILE @@Fetch_Status = 0
I want to convert this in MySql ... specifically WHILE ... i am using the REPEAT loop but what to replace "@@Fetch_Status" so that the loop continues