List processing

Saravana <>
Wed Mar 31 20:43:50 CEST 2010

Hi friends,

       Good morning,I have doubts

Here I use the code to select the result for id from mysql db

      	ConnString = "DSN=mysqldb",
	{ok, Conn} = odbc:connect(ConnString, []),
  	{selected, _Cols, Results} = odbc:sql_query(Conn, "SELECT * FROM
marks where id=1"),
i get the output in terminal {1,45,55,67,89}

Here I wanna to process each field seperately,How to seperate each
field in the above tuple?

I wanna print the result 1,45,55,67,89 like wise individually

More information about the erlang-questions mailing list