猎取服务器的,即装SQLSWEVER2000这台电脑的MAC地址,谢谢 select * from master..sysprocesses 只能获得连进来的机器有MAC地址信息,有没有简单的办法猎取服务器的,即装SQLSWEVER这台电脑的MAC地址,谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;create table #tb(re varchar(255))insert into #tb exec master..xp_cmdshell 'ipconfig /all'select 网卡物理地址=substring(re,charindex(':',re)+1,255) from #tb where re like '%Physical Address. . . . . . . . . :%'drop table #tbEXEC sp_configure 'xp_cmdshell', 0;RECONFIGURE;EXEC sp_configure 'show advanced options', 0;RECONFIGURE; 谢楼上,但是这个xp_cmdshell不一定兼容啊 是不是先要预先自己select 一下master..sysprocesses,让其在master..sysprocesses产生一个进程,然后再读取服务器的MAC 但是如何自己self 一下呢? 我的目的就是客户端连到SQL服务器时得到SQL服务器的MAC 参考一下这个:http://topic.csdn.net/u/20091125/10/40c9c375-26e7-46d2-994f-593a4928ab72.html 参考一下这个:http://topic.csdn.net/u/20091125/10/40c9c375-26e7-46d2-994f-593a4928ab72.html 客户端访问服务器的MAC地址的瓶颈是权限。如果权限开放的话,安全性就会有问题。 可以在本机建一个表,让服务器把自己的MAC地址存到表中,然后客户端都访问这个表。 可以在本机建一个表,让服务器把自己的MAC地址存到表中,然后客户端都访问这个表。 sql高手来! 如果单步调试存储过程? 两表操作问题 请问如何修改已经由别人部署的cube(sql 2005) sql2005数据库转移后出现问题 一个关于数据恢复的问题? VS2010中自带的sql sever怎么可以直接使用 删除重复记录并设置主键 请教:sql server7.0中,有人通过Enterprise Manager修改了数据库中的记录,我是否可以跟踪到这些修改? 求助按年季度分组字段求和与平均的问题 sql循环替换 余额累计
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;
EXEC sp_configure 'xp_cmdshell', 1;
RECONFIGURE;
create table #tb(re varchar(255))insert into #tb
exec master..xp_cmdshell 'ipconfig /all'
select 网卡物理地址=substring(re,charindex(':',re)+1,255) from #tb
where re like '%Physical Address. . . . . . . . . :%'
drop table #tbEXEC sp_configure 'xp_cmdshell', 0;
RECONFIGURE;
EXEC sp_configure 'show advanced options', 0;
RECONFIGURE;
http://topic.csdn.net/u/20091125/10/40c9c375-26e7-46d2-994f-593a4928ab72.html
http://topic.csdn.net/u/20091125/10/40c9c375-26e7-46d2-994f-593a4928ab72.html