Learn about Lockerz... watch videos,answer dailies and earn prizes.. Invitations Sent Out: 60 >> << | Next Tip »Home

Useful SQL Queries in Siebel – Views and Responsibility.

OkAvarageGoodVery GoodExcellent (1 votes, average: 4.00 out of 5)
Loading ... Loading ...

Below mentioned SQL Query will give you the list of users (First Name and Last Name) who have particular view added to their responsibility in Siebel.



SELECT DISTINCT
usid.per_fst_name || ' ' || usid.per_last_name "Users"
FROM siebel.s_resp resp,
siebel.s_app_view vi,
siebel.s_app_view_resp inter,
siebel.s_per_resp usid
WHERE vi.row_id = inter.view_id
AND resp.row_id = inter.resp_id
 -- Change the view name to what you want to give
AND vi.name = 'Your View Name'
AND usid.resp_id = resp.row_id



You can change the view name to the view that you want or you can give name of multiple views like this

AND vi.name in ('Your View Name' ,'2nd View Name')

Hope this helps and your invaluable comments are always welcome :) !!!

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 416 articles by neel
View Comments Post a Comment
  1. Venkat says:

    Good work. Thanks

  2. vishnu says:

    hai this is very helpful to me . And i want to know how to call the table through escript ..
    thank yoiu

  3. ramunju says:

    Hi Vishnu it is very easy to cal a table through script,but you know writing script is not recomended by clint rght,i don't know you are prefer this one.
    you have alternative way to call a table through sql,,,you need to implement this ok…Vishnu

blog comments powered by Disqus

Polls

Do you know how to use replace function?

View Results

Loading ... Loading ...