Viewing 4 posts - 1 through 4 (of 4 total)
One other way to get the machine name...
I use it to see which node has the load in clusters.
DECLARE @test-2 varchar(20)
EXEC master.dbo.xp_regread
'HKEY_LOCAL_MACHINE',
'SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName',
'ComputerName',
@test-2 OUTPUT
select...
March 19, 2004 at 8:38 am
Hoo-t, if it was me, I'd stop SQL's services, swap your current drive letter(s) for the SAN drive letter(s) and copy the data to the SAN drive that now has the same drive...
March 19, 2004 at 7:54 am
I assume you really are looking for a way to read a registry value with TSQL. There is an undocumented extended stored procedure that does that. (Undocumented means unsupported...)
EXECUTE xp_regread...
June 11, 2003 at 4:14 pm
Have you installed the SQL Server 6.5 client?
I believe that is required for a 16 bit ODBC conncetion.
June 2, 2003 at 2:05 pm
Viewing 4 posts - 1 through 4 (of 4 total)