jdbc执行sql 不支持“variant”数据类型。

我一个sql查询表说明字段

 select top 100 [value] from sys.extended_properties

在java中使用jdbc执行的时候总是报错,说value是一个变量类型。如下错误

 Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: 不支持“variant”数据类型。

请问有人遇到过吗,如何解决

改成下面试试
 select top 100 cast([value] as varchar(500)) [value] from sys.extended_properties

改成下面试试
select top 100 cast([value] as varchar(500)) [value] from sys.extended_properties

select top 100 cast([value] as varchar(500)) [value] from sys.extended_properties