Hi all,
I have done a query:
use master;
select name, loginname from syslogins where name = "foo"
and it has failed on a customer machine, but not my machine.
the reason is that in sql 7.0, the sysxlogins table is queried using suser_name(suser_id(name))
This function is returning a domain qualified user on the customer machine, but no domain qualification on my machine.
Any ideas?
The customer machine has two domains, I have one. Could this by why? I suspect so, but I want to hear other voices before I commit to making a change to this effect.
Cheers,
Mark Smith
I have done a query:
use master;
select name, loginname from syslogins where name = "foo"
and it has failed on a customer machine, but not my machine.
the reason is that in sql 7.0, the sysxlogins table is queried using suser_name(suser_id(name))
This function is returning a domain qualified user on the customer machine, but no domain qualification on my machine.
Any ideas?
The customer machine has two domains, I have one. Could this by why? I suspect so, but I want to hear other voices before I commit to making a change to this effect.
Cheers,
Mark Smith