Technical Article

UDF to find MDAC version

,

This UDF returns the MDAC version

print dbo.MDACversion()

CREATE FUNCTION  MDACversion ()
RETURNS varchar(255) AS  
BEGIN 
DECLARE @Ver varchar( 255 )
EXEC master..xp_regread N'HKEY_LOCAL_MACHINE',
N'Software\Microsoft\DataAccess',
N'FullInstallVer' , @Ver OUT , N'no_output'
RETURN (@Ver)
END

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating