Under sql/plus the query below produces something like
me@here ( SID=1 ) is blocking you@here ( SID=2 )
In fact, on one system PL/SQL Dev does also, but on some new PCs on a new system it only produces
me@here
In the actual system me@here equates to 23 characters. And this happens in Command and SQL windows
I have looked and looked and can not find a setting that might effect this. If I put a length() around the output it says 83.
-- from http://orafaq.com/node/854
select s1.username || '@' || s1.machine || ' ( SID=' || s1.sid ||
' ) is blocking ' || s2.username || '@' || s2.machine || ' ( SID=' ||
s2.sid || ' ) ' AS blocking_status
from v$lock l1, v$session s1, v$lock l2, v$session s2
where s1.sid = l1.sid
and s2.sid = l2.sid
and l1.BLOCK = 1
and l2.request > 0
and l1.id1 = l2.id1
and l2.id2 = l2.id2;
Does anyone have an idea about why this might be?