1. EuSQL: Geting Values of a Specific Field

Preferably using functions, rather than a SQL statement, how do I get the value
of a field from all records in a table?

Thanks,
 Alex

new topic     » topic index » view message » categorize

2. Re: EuSQL: Geting Values of a Specific Field

Hi
Is it not easier to use sql?

data = SELECT field_name FROM table

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view message » categorize

3. Re: EuSQL: Geting Values of a Specific Field

Chris Burch wrote:
> 
> Hi
> Is it not easier to use sql?
> 
> data = SELECT field_name FROM table

So why isn't }}}
<eucode>tmp_sql = "SELECT NAME FROM CATEGORIES;"</eucode>
{{{
 working?

I get
"C:\Euphoria\include\eusql.e:1881 in function parse_field() 
subscript value 3 is out of bounds, reading from a sequence of length 2"
as the top two lines of ex.err

Thanks,
 Alex

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu