Hi Hans, <br><br>thanks for the info. If you are wondering about feasibility, I have seen API in other languages (e.g. perl DBI, or <a href="http://ADO.NET">ADO.NET</a>) providing column names for major databases, so I would imagine that it is feasible (when there are man power to put behind it of course ;P).
<br><br><a href="http://search.cpan.org/~timb/DBI/DBI.pm#fetchrow_hashref">http://search.cpan.org/~timb/DBI/DBI.pm#fetchrow_hashref</a> - Perl DBI fetching a row as a hash containing name/value pairs <br><br><a href="http://msdn2.microsoft.com/en-us/library/system.data.idatarecord.getname.aspx">
http://msdn2.microsoft.com/en-us/library/system.data.idatarecord.getname.aspx</a> - <a href="http://ADO.NET">ADO.NET</a> retrieving the name of the field for the recordset from ordinal positions. <br><br>Thanks,<br>yinso
<br><br><div><span class="gmail_quote">On 4/10/07, <b class="gmail_sendername">Hans Oesterholt-Dijkema</b> <<a href="mailto:hdnews@gawab.com">hdnews@gawab.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
No(t Yet),<br>
<br>
I've kept the interface as simple as possible. I don't know if I can<br>
require from all drivers that they return the column names.<br>
<br>
--Hans<br>
<br>
Yin-So Chen schreef:
<blockquote cite="http://mid779bf2730704101916s4069fe60xd4af53d29bf0c555@mail.gmail.com" type="cite"><div><span class="e" id="q_111df0cdf6287b33_1">Hi all - <br>
<br>
can one retrieve the column names through sqlid interface? It seems
that the returned results only have the data... at first glance through
doc or sqli.scm I cannot find a function that returns column names.
This is useful when one specify a column alias or using * to
dynamically receive a list of names back from sql. <br>
<br>
Thanks,<br>
yinso <br clear="all">
<br>
-- <br>
<a href="http://www.yinsochen.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.yinsochen.com</a><br>
...continuous learning...
</span></div><pre><hr size="4" width="90%">
_________________________________________________<br> For list-related administrative tasks:<br> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.yinsochen.com">http://www.yinsochen.com</a><br>...continuous learning...