Databases
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs Databases

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 24th, 2008, 05:10 PM
alacrite
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Why is master..sysprocesses.hostname is NULL for my programs spid?

I am running into the following situation

Machine 1
Solaris 10/using mutiple Zones
Sybase ASE 15

Machine 2
Solaris 8
Sybase ASE 12.5

I have a program that makes a connection to a Sybase ASE database and
then makes an entry into a table selecting hostname, hostprocess, spid
from master.sysprocesses where spid is equal to @@spid. machine 1
hostname is always NULL for this select and the insert into my table
fails because I require this field. machine 2 hostname is always
populated for the select and this insert works.

Under what circumstances is hostname set to NULL in sysprocesses? Is
there anything I can do to make sure that when my program makes a
connection that the hostname will be populated for that spid?

Thanks

Reply With Quote
Reply

Viewing: Web Development Archives FAQs Databases > Why is master..sysprocesses.hostname is NULL for my programs spid?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT