It is not problem to get field names from a table. And it if its not possible to do directly in Rebol than it is possibel in SQL.
The problem in details: Example a query: select t1.fld1 "name", t1.fld3 "param1", t2.fld1 "param2" from t1, t2 where t1.fld1 = t2.fld2 How to get in Rebol a block or object of the query above field names f.ex. like this: [ "name" "param1" "param2" ] Thanks in advance, Janeks On 13 Oct 2005 at 9:44, Mike Yaunish wrote: > > In MySQL I use the query "SHOW COLUMNS FROM <tablename>" > > Mike > > > >To be more exact I need to get field/column names from a query. > >In http://www.rebol.com/docs/database.html#section-4 there are > >described getting of field/column names from a table - but I need > >from query. At least for MS-SQL it did not work. Any hints? > > > >Janeks > > > >On 8 Oct 2005 at 18:32, [EMAIL PROTECTED] wrote: > > > > > > > > Hi, Rebolers! > > > > > > I was unable to google the subj. > > > ;-) > > > > > > Could somebody please help me with an advice? > > > In php I like better to work with associative arrays > > > and I want to do something similar in Rebol. > > > > > > brgds > > > Janeks > > > > > > -- > > > To unsubscribe from the list, just send an email to > > > lists at rebol.com with unsubscribe as the subject. > > > > > > > > > > > > > >-- > >To unsubscribe from the list, just send an email to > >lists at rebol.com with unsubscribe as the subject. > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
