Question : Differences between CREATE TYPE and sp_addtype

Hi,

Can anybody answer if there is any practical differences between CREATE TYPE and sp_addtype. The reason I ask is because of a problem I've got with ODBC API SQLColumns. If I create an udt with CREATE TYPE, SQLColumns will not enumerate columns of that datatype, but if I create the same udt with sp_addtype it works as expected.

Thanks,

/peter

Answer : Differences between CREATE TYPE and sp_addtype

True.  But like I said, I don't think there's a new equivalent for that in SQL Server now.  That capability has, afaik, been lost :-( .
Random Solutions  
 
programming4us programming4us