On Thu, Apr 2, 2009 at 3:33 PM, linnewbie <linnewbie@xxxxxxxxx> wrote: > set page_content [lindex [ dbh $sql ] 0] I have never heard of tclodbc, but I believe you are putting the first row into your variable, which is why it shows with curly braces. The problem should be more obvious when you try to fetch more than one column from the table. Try this: set page_content [lindex [lindex [ dbh $sql ] 0] 0] That should solve your problem. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general