Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Retrieving mysql columns by name

From: didier::jacquemart::libertysurf::fr at: 7-Apr-2002 11:31

To retrieve mysql data, i wrote this program ... sqlchain: "select .... join ...." insert db sqlchain fic: copy db foreach row fic print row/1 ... Is it possible to retrieve the columns with their name ("numliv"), rather than with their order number in the row? I think about a series that would contain the names of the fields; that would then give the order number trough a function call. How can i fill in automatically this series. Does a solution already exist.