If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > tools - scripts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-03, 12:03
alex1668 alex1668 is offline
Registered User
 
Join Date: Oct 2003
Location: Canada, Quebec
Posts: 11
tools - scripts

Hi all,

is there a place on the net where we can find scripts for informix?
Like a small script to get a formated list of users, etc..
Reply With Quote
  #2 (permalink)  
Old 12-17-03, 00:44
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Hi,

You will find tens, hundreds of scripts, procedures, tips, hints etc. at:
http://www.iiug.org

By the way you can get a list of database users from the following SQL statement:
select username,
case
when usertype="C" then "Connect"
when usertype="R" then "Resource"
when usertype="D" then "DBA"
else "Unknown Usertype"
end usertype
from sysusers;

onstat -l will show the list of currenly logged ones from that list.

Regards,
Shriyan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On