Re: How to fetch data from uniqueidentifier field?

Velichko Yuriy <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAN=WvWvD0bRjnpRn2WTBzoiRkiU6OkiS68ZQ2gWUd8C7qrWfcg@mail.gmail.com>
Please accept my apologies for the silly question. I was confused the lack
of a macro for this data type  in the documentation and I thought that it
is not supported.

dbconvert - performs converting properly.


On 22 January 2014 16:24, Frediano Ziglio <[email protected]> wrote:

> Did you try dbconvert ??
>
> Frediano
>
> 2014/1/22 Velichko Yuriy <[email protected]>:
> > I found the SQL solution for this issue:  CAST or CONVERT functions.
> > But question still valid - is there a way to convert data by the freetds
> > lib API?
> >
> >
> > On 22 January 2014 12:13, Velichko Yuriy <[email protected]>
> wrote:
> >
> >> Hello!
> >>
> >> Point me please how to proper fetch data from uniqueidentifier field.
> >> The function
> >>
> >> dbcoltype()
> >>
> >> returns 36 for this datatype. How I can convert the data of such type to
> >> the string representation?
> >>
> >> Here
> >>
> >> http://lists.ibiblio.org/pipermail/freetds/2009q3/024815.html
> >>
> >> I found the similar question but can't to find the answer.
> >>
> >> --
> >> Best Regards!
> >>
> >
> >
> >
> > --
> > Best Regards!
> > _______________________________________________
> > FreeTDS mailing list
> > [email protected]
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



-- 
Best Regards!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.