Home All Groups Group Topic Archive Search About

Databasepropertyex problem

Author
18 Feb 2006 3:32 PM
Amish Shah
Hi
when I run this query

SELECT *    FROM OPENROWSET('MSDASQL', 'DRIVER={SQL
Server};SERVER=test;UID=sa;PWD=amish;','select  name,
databasepropertyex(name,''status'') as status from
master..sysdatabases') AS a  

It gives status in varbinary format.

If we run select databasepropertyex('dbname','status') it gives result
as character  , why here it gives varbinary results in status column?

Regards
Amish Shah


*** Sent via Developersdex http://www.developersdex.com ***

AddThis Social Bookmark Button