List Processing Problem

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 individually

this helps me 😉 thanks



About Navaneethan

mixed feelings...
This entry was posted in Prob_system and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s