SQL query / binding issues on my web page

This may or maynot be the place to ask, but maybe someone can
tell me what
to look at...
I created a page some time back.. and its displays a few
fields of data
based on the id passed to it..
This works fine, but now that we are trying to improve the
site a little,
they want some additonal information displayed
on the page.. so those changes were made about 2 weeks ago...
now that some
of the newer records contain the data
they want displayed, some data is not displaying.. or it will
display and
other fields ( that were displaying before ) are now
missing.. the web page hasnt been touched in 2 weeks.. if we
execute the
store procedure within SQL and within our web program
it always returns the correct data.. but the fields that i
have binded to
the page are taking on a life of there own...
Not sure if anyone has had this problem, but its getting
annoying.. when i
execute this within SQL it returns all the values requested.
If i execute it
within dreamweaver to show me what results i will get back it
works there..
but after i bind the fields to my page and view it only some
or all my
fields do not display any data... but if i play around with
the order of my
select statement below i can get some fields to display and
other
disappear... and i dont ever touch my webpage again...
Can anyone shed some light on this issue? Or is there a
better way to
display my results so that what i get back with my query will
always
display....
here is my stored procedure that im calling
SET NOCOUNT ON;
SELECT
c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
h.cdatet,h.startdate,h.managername,h.termby,
availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
availsat1,availsat2,h.comby,ssn_dash = dbo.SSN_dash(cssn),
Home = dbo.PhoneNumber_complete_format(chphone),
Mobile = dbo.PhoneNumber_complete_format(cmphone),
Other = dbo.PhoneNumber_complete_format(cophone),
Jobtitle =
case
when c.st = '90' then
(select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
= h.jobid and
j.hlocation = 'DC')
else
(select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
= h.jobid and
j.hlocation <> 'DC')
end,
(Select T.term_reason
From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
where T.term_val = H.termcode and h.cid = @cid) as
TermReason,
Days = @day,
Months = @month,
Years = @year
FROM has_arc.dbo.EmpCandidate C, has_arc.dbo.EmpTermHistory H
WHERE C.cid = @cid AND C.cid = H.cid
END
ASP, SQL2005, DW8 VBScript

And when it says read the columns left to right... i would
imagine that
means my select statement should select the columns in the
order of which
they are in the tables?
so in my case.. if HomePhone is last column in my table it
should be the
last in the select statement?
ASP, SQL2005, DW8 VBScript
"Daniel" <[email protected]> wrote in message
news:[email protected]...
> Now when you say TEXT type.. your refering to the data
types i have setup
> in the database? correct
>
> Within the database the fields that im querying are
pretty much all
> varchar a few are date and one int
>
>
>
>
> --
> ASP, SQL2005, DW8 VBScript
> "Joris van Lier" <[email protected]> wrote in
message
> news:[email protected]...
>>
>>
>> "Daniel" <[email protected]> wrote in message
>> news:[email protected]...
>>> This may or maynot be the place to ask, but
maybe someone can tell me
>>> what
>>> to look at...
>>>
>>> I created a page some time back.. and its
displays a few fields of data
>>> based on the id passed to it..
>>> This works fine, but now that we are trying to
improve the site a
>>> little,
>>> they want some additonal information displayed
>>> on the page.. so those changes were made about 2
weeks ago... now that
>>> some
>>> of the newer records contain the data
>>> they want displayed, some data is not
displaying.. or it will display
>>> and
>>> other fields ( that were displaying before ) are
now
>>> missing.. the web page hasnt been touched in 2
weeks.. if we execute the
>>> store procedure within SQL and within our web
program
>>> it always returns the correct data.. but the
fields that i have binded
>>> to
>>> the page are taking on a life of there own...
>>>
>>> Not sure if anyone has had this problem, but its
getting annoying.. when
>>> i
>>> execute this within SQL it returns all the
values requested. If i
>>> execute it
>>> within dreamweaver to show me what results i
will get back it works
>>> there..
>>> but after i bind the fields to my page and view
it only some or all my
>>> fields do not display any data... but if i play
around with the order of
>>> my
>>> select statement below i can get some fields to
display and other
>>> disappear... and i dont ever touch my webpage
again...
>>>
>>> Can anyone shed some light on this issue? Or is
there a better way to
>>> display my results so that what i get back with
my query will always
>>> display....
>>>
>>> here is my stored procedure that im calling
>>> SET NOCOUNT ON;
>>> SELECT
>>>
c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
>>> h.cdatet,h.startdate,h.managername,h.termby,
>>>
availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
>>>
availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
>>> availsat1,availsat2,h.comby,ssn_dash =
dbo.SSN_dash(cssn),
>>> Home = dbo.PhoneNumber_complete_format(chphone),
>>> Mobile =
dbo.PhoneNumber_complete_format(cmphone),
>>> Other =
dbo.PhoneNumber_complete_format(cophone),
>>> Jobtitle =
>>> case
>>> when c.st = '90' then
>>> (select top 1 j.jobtitle from has.dbo.JobCodes j
where j.hjob = h.jobid
>>> and
>>> j.hlocation = 'DC')
>>> else
>>> (select top 1 j.jobtitle from has.dbo.JobCodes j
where j.hjob = h.jobid
>>> and
>>> j.hlocation <> 'DC')
>>> end,
>>> (Select T.term_reason
>>> From has.dbo.termcodes T,
has_arc.dbo.EmpTermHistory H
>>> where T.term_val = H.termcode and h.cid = @cid)
as TermReason,
>>> Days = @day,
>>> Months = @month,
>>> Years = @year
>>>
>>> FROM has_arc.dbo.EmpCandidate C,
has_arc.dbo.EmpTermHistory H
>>> WHERE C.cid = @cid AND C.cid = H.cid
>>> END
>>>
>>>
>>> --
>>> ASP, SQL2005, DW8 VBScript
>>
>>
>> Are any of these fields by chance of TEXT type (or
other Binary Large
>> OBject type)?
>> In this case there are certain limitations the text
fields must be the
>> last in your SQL statement and may only
>> be retrieved ONCE reliably.
>>
>> <%
>> Dim myTextVar
>> myTextVar = Recordset.Fields.Item("TEXTFIELD").value
>> %>
>> <% If NOT IsNull(myTextVar) Then%>
>> <%=(Replace(myTextVar, chr(13),
"<BR>"))%>
>> <% End If ' NOT IsNull(myTextVar) %>
>>
>> Here's an excerpt from the Microsoft Site
>>
>> When dealing with BLOB fields from Microsoft SQL
Server, you must put
>> them
>> to the right of non-BLOB columns in the resultset.
To be safe, you should
>> also read the columns in left-to-right order, so if
you have two BLOB
>> columns as the last two columns in your resultset,
read the first one and
>> then the second. Do not read them in the reverse
order.
>> MS:
http://support.microsoft.com/support/kb/articles/q175/2/39.asp
>>
>> Joris van Lier
>
>

Similar Messages

  • SQL query / binding issues within dreamweaver

    Not sure if anyone has had this problem, but its getting
    annoying.. when i
    execute this within SQL it returns all the values requested.
    If i execute it
    within dreamweaver to show me what results i will get back it
    works there..
    but after i bind the fields to my page and view it only some
    or all my
    fields do not display any data... but if i play around with
    the order of my
    select statement below i can get some fields to display and
    other
    disappear... and i dont ever touch my webpage again...
    Can anyone shed some light on this issue? Or is there a
    better way to
    display my results so that what i get back with my query will
    always
    display....
    here is my stored procedure that im calling
    SET NOCOUNT ON;
    SELECT
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    h.cdatet,h.startdate,h.managername,h.termby,
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    availsat1,availsat2,h.comby,ssn_dash = dbo.SSN_dash(cssn),
    Home = dbo.PhoneNumber_complete_format(chphone),
    Mobile = dbo.PhoneNumber_complete_format(cmphone),
    Other = dbo.PhoneNumber_complete_format(cophone),
    Jobtitle =
    case
    when c.st = '90' then
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation = 'DC')
    else
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation <> 'DC')
    end,
    (Select T.term_reason
    From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    Days = @day,
    Months = @month,
    Years = @year
    FROM has_arc.dbo.EmpCandidate C, has_arc.dbo.EmpTermHistory H
    WHERE C.cid = @cid AND C.cid = H.cid
    END
    ASP, SQL2005, DW8 VBScript

    Can anyone help shed some light on this?
    ASP, SQL2005, DW8 VBScript
    "Daniel" <[email protected]> wrote in message
    news:ff3ud8$10k$[email protected]..
    > Not sure if anyone has had this problem, but its getting
    annoying.. when i
    > execute this within SQL it returns all the values
    requested. If i execute
    > it within dreamweaver to show me what results i will get
    back it works
    > there.. but after i bind the fields to my page and view
    it only some or
    > all my fields do not display any data... but if i play
    around with the
    > order of my select statement below i can get some fields
    to display and
    > other disappear... and i dont ever touch my webpage
    again...
    >
    > Can anyone shed some light on this issue? Or is there a
    better way to
    > display my results so that what i get back with my query
    will always
    > display....
    >
    > here is my stored procedure that im calling
    > SET NOCOUNT ON;
    > SELECT
    >
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    > h.cdatet,h.startdate,h.managername,h.termby,
    >
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    >
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    > availsat1,availsat2,h.comby,ssn_dash =
    dbo.SSN_dash(cssn),
    > Home = dbo.PhoneNumber_complete_format(chphone),
    > Mobile = dbo.PhoneNumber_complete_format(cmphone),
    > Other = dbo.PhoneNumber_complete_format(cophone),
    > Jobtitle =
    > case
    > when c.st = '90' then
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation = 'DC')
    > else
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation <> 'DC')
    > end,
    > (Select T.term_reason
    > From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    > where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    > Days = @day,
    > Months = @month,
    > Years = @year
    >
    > FROM has_arc.dbo.EmpCandidate C,
    has_arc.dbo.EmpTermHistory H
    > WHERE C.cid = @cid AND C.cid = H.cid
    > END
    >
    >
    > --
    > ASP, SQL2005, DW8 VBScript
    >

  • SQL query performance issues.

    Hi All,
    I worked on the query a month ago and the fix worked for me in test intance but failed in production. Following is the URL for the previous thread.
    SQL query performance issues.
    Following is the tkprof file.
    CURSOR_ID:76  LENGTH:2383  ADDRESS:f6b40ab0  HASH_VALUE:2459471753  OPTIMIZER_GOAL:ALL_ROWS  USER_ID:443 (APPS)
    insert into cos_temp(
    TRX_DATE, DEPT, PRODUCT_LINE, PART_NUMBER,
    CUSTOMER_NUMBER, QUANTITY_SOLD, ORDER_NUMBER,
    INVOICE_NUMBER, EXT_SALES, EXT_COS,
    GROSS_PROFIT, ACCT_DATE,
    SHIPMENT_TYPE,
    FROM_ORGANIZATION_ID,
    FROM_ORGANIZATION_CODE)
    select a.trx_date,
    g.segment5 dept,
    g.segment4 prd,
    m.segment1 part,
    d.customer_number customer,
    b.quantity_invoiced units,
    --       substr(a.sales_order,1,6) order#,
    substr(ltrim(b.interface_line_attribute1),1,10) order#,
    a.trx_number invoice,
    (b.quantity_invoiced * b.unit_selling_price) sales,
    (b.quantity_invoiced * nvl(price.operand,0)) cos,
    (b.quantity_invoiced * b.unit_selling_price) -
    (b.quantity_invoiced * nvl(price.operand,0)) profit,
    to_char(to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS'),'DD-MON-RR') acct_date,
    'DRP',
    l.ship_from_org_id,
    p.organization_code
    from   ra_customers d,
    gl_code_combinations g,
    mtl_system_items m,
    ra_cust_trx_line_gl_dist c,
    ra_customer_trx_lines b,
    ra_customer_trx_all a,
    apps.oe_order_lines l,
    apps.HR_ORGANIZATION_INFORMATION i,
    apps.MTL_INTERCOMPANY_PARAMETERS inter,
    apps.HZ_CUST_SITE_USES_ALL site,
    apps.qp_list_lines_v price,
    apps.mtl_parameters p
    where a.trx_date between to_date('2010/02/01 00:00:00','yyyy/mm/dd HH24:MI:SS')
    and to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS')+0.9999
    and   a.batch_source_id = 1001     -- Sales order shipped other OU
    and   a.complete_flag = 'Y'
    and   a.customer_trx_id = b.customer_trx_id
    and   b.customer_trx_line_id = c.customer_trx_line_id
    and   a.sold_to_customer_id = d.customer_id
    and   b.inventory_item_id = m.inventory_item_id
    and   m.organization_id
         = decode(substr(g.segment4,1,2),'01',5004,'03',5004,
         '02',5003,'00',5001,5002)
    and   nvl(m.item_type,'0') <> '111'
    and   c.code_combination_id = g.code_combination_id+0
    and   l.line_id = b.interface_line_attribute6
    and   i.organization_id = l.ship_from_org_id
    and   p.organization_id = l.ship_from_org_id
    and   i.org_information3 <> '5108'
    and   inter.ship_organization_id = i.org_information3
    and   inter.sell_organization_id = '5108'
    and   inter.customer_site_id = site.site_use_id
    and   site.price_list_id = price.list_header_id
    and   product_attr_value = to_char(m.inventory_item_id)
    call        count       cpu   elapsed         disk        query      current         rows    misses
    Parse           1      0.47      0.56           11          197            0            0         1
    Execute         1   3733.40   3739.40        34893    519962154           11          188         0
    total           2   3733.87   3739.97        34904    519962351           11          188         1
    |         Rows Row Source Operation
    | ------------ ---------------------------------------------------
    |          188 HASH JOIN (cr=519962149 pr=34889 pw=0 time=2607.35)
    |          741 .TABLE ACCESS BY INDEX ROWID QP_PRICING_ATTRIBUTES (cr=519939426 pr=34889 pw=0 time=2457.32)
    |    254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
    |    254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)
    |          741 ....NESTED LOOPS (cr=50042 pr=7230 pw=0 time=11.37)
    |          741 .....NESTED LOOPS (cr=48558 pr=7229 pw=0 time=11.35)
    |          741 ......NESTED LOOPS (cr=47815 pr=7223 pw=0 time=11.32)
    |         3237 .......NESTED LOOPS (cr=41339 pr=7223 pw=0 time=12.42)
    |         3237 ........NESTED LOOPS (cr=38100 pr=7223 pw=0 time=12.39)
    |         3237 .........NESTED LOOPS (cr=28296 pr=7139 pw=0 time=12.29)
    |         1027 ..........NESTED LOOPS (cr=17656 pr=4471 pw=0 time=3.81)
    |         1027 ...........NESTED LOOPS (cr=13537 pr=4404 pw=0 time=3.30)
    |          486 ............NESTED LOOPS (cr=10873 pr=4240 pw=0 time=0.04)
    |          486 .............NESTED LOOPS (cr=10385 pr=4240 pw=0 time=0.03)
    |          486 ..............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=9411 pr=4240 pw=0 time=0.02)
    |        75253 ...............INDEX RANGE SCAN RA_CUSTOMER_TRX_N5 (cr=403 pr=285 pw=0 time=0.38)
    |          486 ..............TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=974 pr=0 pw=0 time=0.01)
    |          486 ...............INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=488 pr=0 pw=0 time=0.01)
    |          486 .............INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=488 pr=0 pw=0 time=0.01)
    |         1027 ............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_LINES_ALL (cr=2664 pr=164 pw=0 time=1.95)
    |         2063 .............INDEX RANGE SCAN RA_CUSTOMER_TRX_LINES_N2 (cr=1474 pr=28 pw=0 time=0.22)
    |         1027 ...........TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_LINE_GL_DIST_ALL (cr=4119 pr=67 pw=0 time=0.54)
    |         1027 ............INDEX RANGE SCAN RA_CUST_TRX_LINE_GL_DIST_N1 (cr=3092 pr=31 pw=0 time=0.20)
    |         3237 ..........TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=10640 pr=2668 pw=0 time=15.35)
    |         3237 ...........INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=2062 pr=40 pw=0 time=0.33)
    |         3237 .........TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=9804 pr=84 pw=0 time=0.77)
    |         3237 ..........INDEX UNIQUE SCAN OE_ORDER_LINES_U1 (cr=6476 pr=47 pw=0 time=0.43)
    |         3237 ........TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=3239 pr=0 pw=0 time=0.04)
    |         3237 .........INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=2 pr=0 pw=0 time=0.01)
    |          741 .......TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=6476 pr=0 pw=0 time=0.10)
    |         6474 ........INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=3239 pr=0 pw=0 time=0.03)Please help.
    Regards
    Ashish

    |    254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
    |    254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)There is no way the optimizer should choose to process that many rows using nested loops.
    Either the statistics are not up to date, the data values are skewed or you have some optimizer parameter set to none default to force index access.
    Please post explain plan and optimizer* parameter settings.

  • Integrating PL / SQL with a Button on a Web Page ...

    I would be very grateful if someone could help with the following query.
    I have a database with a table called '*Tbl1*', which contains the following columns:-
    1). tbl1_unique_id (number, primary key);
    2). tbl1_title (VARCHAR2, 200);
    3). tbl1_description (VARCHAR2, 2000);
    4). tbl1_notes (VARCHAR2, 500);
    5). tbl1_status (Open, Closed).
    I have also created a page, which displays all of the records where the tbl1_status is equal to 'Open'.
    What I would like to do is add a button to the page, which when pressed, replaces whatever information is in the tbl1_notes column with a default statement.
    I have managed to produce PL / SQL code, which will query the table and update only those rows where tbl1_status is equal to 'Open' when using the 'SQL Commands' window, but I am having trouble integrating it with a button on the web page.
    I think that I need a 'Page Process', but I do not know what type (Data Manipulation, On Demand, PL / SQL, etc) or how to set it up correctly.
    Any help you can provide with regard to the above query will be appreciated.

    Trevor,
    Navigate to the page where you would like to add the process. Add the button if you've not already done so. Then click the "create page process" button under the Page Processing column.
    Select PL/SQL and click Next >.
    Enter a Name and click Next >.
    Paste your code from the SQL Workshop and click Next >.
    Enter success/failure messages if you like and click Next >.
    Select the button you added and click Create Process.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • Disable SQL query to celltext content in web form of Hyperion Planning

    We are using Hyperion Planning ver 11.1.1.1. We found that there is a SQL query executed for each cell in the web form to query the SQL Server metadata database and check whether there are some celltext associated with this cell.
    As we did not implement the celltext function to our end users, we would like to disable this checking. As some of our web forms have more than 10000 cells, generate 10000 SQL queries to the metadata database definitely is a performance issue.
    We have asked Oracle team whether we can disable the SQL query but the answer is that no such option exist.
    Anyone experienced this case and have workaround solution?
    Thanks!

    Hyperion user wrote:
    Alp Burak wrote:
    Hi,
    We had faced the same issue a few years ago. One of our geeks had done a change in either Enterdata.js or Enterdata.jsp which disabled form cell validation. I don't currently have the code with me but it wasn't a big change really, remarking a function could be doing the trick.
    I don't think this is officially recommended by Oracle though.
    AlpThanks for your advice. We will try to locate the enterdata.jsp and enterdata.js and found out where the SQL being executed.We found out the Enterdata.js under the deployment directory of Weblogic. However it is over 400KB size and many many lines of codes. We think that it is very difficult to locate where should be customized to remove the SQL checking on cell content.
    \\Hqsws04\hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\HyperionPlanning

  • Issue with User web page into Call Manager

    Hello
    I have an issue where all my users can log into their User page on UCM but when they make a change to speed dial or anything else, the change does not reflect on the phone in UCM. Doing a reset from their web page doesn't reset the phone. This is UCM 7.1.5 and the standard ccm end user group is enable for all end users.
    thanks

    Hi Bill -
    Have you verified your User Management Roles and effective permissions?  Go to User Management - Roles - select Standard CCMUSER Administration and for the permissions you want, ensure both Read and Update are selected.
    Role Information
    Application
    Cisco Call Manager End User
    Name
    Description
    Resource Access Information
    ">Resource Description Privilege
    read                                               update
    CCMUser: Access List                   
    read                       update                      
    CCMUser: Device                   
    read                       update                      
    CCMUser: Directory                   
    read                       update                      
    CCMUser: Fast Dials                   
    read                       update                      
    CCMUser: IP Phone Services                   
    read                       update                      
    CCMUser: Line Settings                   
    read                       update                      
    CCMUser: Personal Address Book                   
    read                       update                      
    CCMUser: Plugins                   
    read                       update                      
    CCMUser: RemoteDestination                   
    read                       update                      
    CCMUser: Service URL                   
    read                       update                      
    CCMUser: Speed Dial User                   
    read                       update                      
    CCMUser: User Settings                   
    read                       update      
    You can also check an individual's effective permissions by using these procedures:
    Viewing a User's Roles, User Groups, and Permissions
    This section describes how to view the roles, user groups, and permissions that are assigned to a user that belongs to a specified user group. Use the next procedure to view the roles, user groups, and permissions that are assigned to a user in a user group.
    Note: You can also view user roles by using User Management > Application User (for application users) or User Management >End User (for end users) to view a particular user and then display the user roles.
    Choose User Management > User Group.
    The Find and List User Groups window displays.
    Find the user group that has the users for which you want to display assigned roles.
    Click the name of the user group for which you want to view the roles that are assigned to the users.
    The User Group Configuration window displays for the user group that you chose. The Users in Group pane shows the users that belong to the user group.
    For a particular user, click the i icon in the Permission column for the user.
    The User Privilege window displays. For the user that you chose, this information displays:
    User groups to which the user belongs
    Roles that are assigned to the user
    Resources to which the user has access. For each resource, this information displays:
    Application
    Resource
    Permission (read and/or update)
    Now if both items above look OK, you might check your DB replication status.  I assume you have a Publisher and one or more Subscribers?  User phones registered to Subscriber?  You can check replication several ways:
    CLI
    RTMT
    Unified Reporting on CUCM administrator web page - select "Unified CM Database Replication Debug" report.  This is the easiest.
    The desired Replication State is 2.
    Here is some further information:
    Check the DB replication status on all the Cisco Unified Communications Manager nodes in the cluster to ensure that all servers are replicating database changes successfully. You can check by using either RTMT or a CLI command.
    • To check by using RTMT, access the Database Summary and inspect the replication status.
    • To check by using the CLI, enter the command that is shown in the following example: admin: show perf query class "Number of Replicates Created and State of Replication"
    ==>query class :
    - Perf class (Number of Replicates Created and State of Replication) has instances and values:
    ReplicateCount -> Number of Replicates Created = 344 ReplicateCount -> Replicate_State = 2
    Be aware that the Replicate_State object shows a value of 2 in this case. The following list shows the possible values for Replicate_State:
    0—Replication Not Started. Either no subscribers exist, or the Database Layer Monitor service is not running and has not been running since the subscriber was installed.
    1—Replicates have been created, but their count is incorrect.
    2—Replication is good.
    3—Replication is bad in the cluster.
    4—Replication setup did not succeed.
    I'm thinking it's more your Roles/permissions and not replication, but I included just in case.  Hope this helps!
    Ginger

  • Sql query cache issue

    I am trying to see the log file in Manage sessions for the sql query in Answers. I see that if we run the same report multiple times, the sql query is showing up only the first time. Second time if I run it is not showing up. If I do a brand new report with diff columns picked it is giving me the sql then. Where do I set this option to show the sql query everytime I run a report even if it is the same report run multiple times. Is this caching issue?

    It shouldn't.... Have you unchecked the "Cache" on the physical layer for this table? If you go onto the Advanced tab, is the option "Bypass the Oracle BI cache" checked?

  • SQL query execution Issue

    Hi,
    Facing Database performance issue while runing overnight batches.
    Generate tfprof output for that batch and found some sql query which is having high elapsed time. Could any one please let me know what is the issue for this. It will also be great help if anyone suggest what need to be done as per tuning of this sql queries so as to get better responce time.
    Waiting for your reply.
    Effected SQL List:
    INSERT INTO INVTRNEE (TRANS_SESSION, TRANS_SEQUENCE, TRANS_ORG_CHILD,
    TRANS_PRD_CHILD, TRANS_TRN_CODE, TRANS_TYPE_CODE, TRANS_DATE, INV_MRPT_CODE,
    INV_DRPT_CODE, TRANS_CURR_CODE, PROC_SOURCE, TRANS_REF, TRANS_REF2,
    TRANS_QTY, TRANS_RETL, TRANS_COST, TRANS_VAT, TRANS_POS_EXT_TOTAL,
    INNER_PK_TECH_KEY, TRANS_INNERS, TRANS_EACHES, TRANS_UOM, TRANS_WEIGHT,
    TRANS_WEIGHT_UOM )
    VALUES
    (:B22 , :B1 , :B2 , :B3 , :B4 , :B5 , :B21 , :B6 , :B7 , :B8 , :B20 , :B19 ,
    NULL, :B9 , :B10 , :B11 , 0.0, :B12 , :B13 , :B14 , :B15 , :B16 , :B17 ,
    :B18 )
    call count cpu elapsed disk query current rows
    Parse 722 0.09 0.04 0 0 0 0
    Execute 1060 7.96 83.01 11442 21598 88401 149973
    Fetch 0 0.00 0.00 0 0 0 0
    total 1782 8.05 83.06 11442 21598 88401 149973
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    UPDATE /*+ ROWID(TRFDTLEE) */TRFDTLEE SET TRF_STATUS = :B2
    WHERE
    ROWID = :B1
    call count cpu elapsed disk query current rows
    Parse 635 0.03 0.01 0 0 0 0
    Execute 49902 14.48 271.25 41803 80704 355837 49902
    Fetch 0 0.00 0.00 0 0 0 0
    total 50537 14.51 271.27 41803 80704 355837 49902
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    DECLARE
    var_trans_session     invtrnee.trans_session%TYPE;
    BEGIN
    -- ADDED BY SHANKAR ON 08/29/97
    -- GET THE NEXT AVAILABLE TRANS_SESSION
    bastkey('trans_session',0,var_trans_session,'T');
    -- MAS001
    uk_trfbapuo_auto(var_trans_session,'UPLOAD','T',300);
    -- MAS001 end
    END;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 24191.23 24028.57 8172196 10533885 187888 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 1 24191.23 24028.57 8172196 10533885 187888 1
    Misses in library cache during parse: 0
    Misses in library cache during execute: 1
    Optimizer goal: CHOOSE
    SELECT INNER_PK_TECH_KEY
    FROM
    PRDPCDEE WHERE PRD_LVL_CHILD = :B1 AND LOOSE_PACK_FLAG = 'T'
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.00 0 0 0 0
    Execute 56081 1.90 2.03 0 0 0 0
    Fetch 56081 11.07 458.58 53792 246017 0 56081
    total 112163 12.98 460.61 53792 246017 0 56081
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    ******************

    First off, be aware of the assumptions I'm making. The SQL you presented above strongly suggests (to me at least) that you have cursor for loops. If that's the case, you need to review what their purpose is and look to convert them into single statement DML commands. For example if you have something like this
    DECLARE
        ln_Count        NUMBER;
        ln_SomeValue    NUMBER;
    BEGIN
        FOR lcr_Row IN (    SELECT pk_id,col1,col2 FROM some_table)
        LOOP
            SELECT
                COUNT(*)
            INTO
                ln_COunt
            FROM
                target_table
            WHERE
                pk_id = lcr_Row.pk_id;
            IF ln_Count = 0 THEN
                SELECT
                    some_value
                INTO
                    ln_SomeValue
                FROM
                    some_other_table
                WHERE
                    pk_id = lcr_Row.col1
                INSERT
                INTO
                    target_table
                    (   pk_id,
                        some_other_value,
                        col2
                VALUES
                    (   lcr_Row.col1,
                        ln_SomeValue,
                        lcr_Row.col2
            ELSE
                UPDATE
                    target_table
                SET
                    some_other_value = ln_SomeValue
                WHERE
                    pk_id = lcr_Row.col1;
            END IF;
        END LOOP;
    END;                            it could be rewritten as
    DECLARE
    BEGIN
        MERGE INTO target_table b
        USING ( SELECT
                    a.pk_id,
                    a.col2,
                    b.some_value
                FROM
                    some_table a,
                    some_other_table b
                WHERE
                    b.pk_id = a.col1
               ) e
        ON (b.pk_id = e.pk_id)
        WHEN MATCHED THEN
          UPDATE SET b.some_other_value = e.some_value
        WHEN NOT MATCHED THEN
          INSERT (  b.pk_id,
                    b.col2,
                    b.some_other_value)
          VALUES(   b.pk_id,
                    b.col2,
                    b.some_value);
    END;It's going to take a bit of analysis and work but the fastest and most scalable way to approach processing data is to use SQL rather than PL/SQL. PL/SQL data processing i.e. cursor loops should be an option of last resort.
    HTH
    David

  • Having issues with loading web pages after using migration assistant

    Last week my old macbook pro died and i purchased a new 13" mbp. I brought it home the first day i bought it and just turned it on and started playing with it and the internet was blazing fast, no issues at all. I then brought it back to the apple store where they peformed a migration from my old hdd to my new macbook pro. I then took it back to my dorm and connected to the same exact internet and now i am having problems loading web pages. Sometimes the page will load on the first try (click) and other times it will hang there loading but never fully load the page, and if it does load somewhat certain things are missing from the page. So i have to click the link again, and again, and sometimes again for it to finally load correctly. I dont know what is wrong but i have a feeling it is files from my old system conflicting with new ones when it comes to loading web pages. Everything is up to date the OS and firefox and i am having the same issues in safari. Also my ipad and blackberry have no problem connecting to the wifi so that is not the issue. I really hope someone can help me out because this is really starting to drive me crazy.

    If your still having problems, or anyone else......
    For future info, your in the wrong forum, your need the MBP area, this is the MacPRO area, no big deal, I can barely keep up with the M & B & P, etc...
    Sounds like when it migrated over your old settings it may have gotten corrupted? It has been known to work if you were to just make another "Location" and just re-enter the information again and sometimes that will help. You might take it back to the store and see if it does it on their connection also. The silly person should have tested it first before letting you go.
    Hope you got it fixed...

  • Issue Loading Specific Web Pages Using the Airport Extreme Base Station

    I see that several other members have had this same issue - has anyone resolved their problem? Here is my issue:
    It all started when my wife tried to load her favorite Web page at http://hpana.com - the site now takes well over 5 minutes to load. This started some time after updating the recent security update 2007-009 Version 1.0 and shortly thereafter version 1.1. I have tried using the other Mac computers in the house, using the same wireless network and the same problem presents itself. I have tried loading the page using friend’s computers (Mac and PC, from out side my home) and the page loads within seconds. I have tried using Safari, IE and Firefox (at home), the problem remains. I contacted the hpana.com Webmaster and they have made no changes to their web site.
    I disconnected our cable modem, and connected the modem directly to the iMac (by passing the Apple Airport) and the page loads within seconds. I’m guessing it has something to do with the Airport Extreme.
    So, I contacted Apple Support. The issue was quickly elevated and eventually forwarded to the Airport Extreme Hardware guys – I expect to get an answer by Mid January 2008.
    I took a trip to the local Apple store and after explaining the situation, the store manger replaced the AirPort Extreme with the hope this would resolve the issue. After getting the “new” Airport Extreme up and running … the problem remained. This particular web site hpana.com still takes well over 5 minutes to load. I have no such issue with some of the other 60 or so sites I tried.
    I by passed the “new” Airport once again by connecting the cable modem directly to the iMac and, as before the web page loads within seconds.
    I’ll wait until I get a response from Apple come January, but I was wondering if anyone on the Forum would be willing to share their respective opinions.
    Thank You and Happy Holidays.

    Hi,
    There are some differences between the configuration of Airport equipment sold in different countries, however this is likely to not be the cause of your system's issues. ( See this document for details on that - http://docs.info.apple.com/article.html?artnum=58567 )
    Hong Kong has a very high density of population, especially compared to Australia.. I suspect your wifi signal is probably getting interference from your neighbours wifi, phones and microwaves. There's not much you can do about this, except getting an external antenna for the AEBS and trying to drown them out with it.

  • Scan Issues - need internet web page from where to scan

    Since purchase of the printer the scanner part of the HP photosmart C7280 has not work.  I have been scanning for years using a web page.  Unfortunately I accidently deleted the web address recently and now I can't scan.
    I press "scan to computer" on printer and receive message "No scan options - refer to scan dovumentation to trouble shoot"
    I orignally went through installing and uninstalling the printer software and  I don't want to go through that again.  Also, I tried to locate the HP print and scan solution fix it software to download and could not find it.  I've gone around the web page information for an hour and can't figure out anything to help.
    Would love an answer or even a way to talk to a person at HP.  can't find a single phone number.
    Thanks in advance for any help you can give

    Hi @JSLOW91,
    Thank you for visiting the HP Support Forums! I see you are running into some scanning problems on your HP Photosmart C7280, you were scanning using a webpage but accidentally deleted the address, when you attempt to use the Scan to Computer option it asks you to refer to the documentation.
    First I would like you to run the HP Print and Scan Doctor
    -- It was designed by HP to provide users with the troubleshooting and problem solving features needed to resolve many common problems experienced with HP print and scan products connected to Windows-based computers.
    What does the PSDR find, was it able to fix the scanning?
    When you say you were scanning from a webpage, do you mean the printers Embedded Web Server (EWS), did you use the printers IP Address to access the webscan? If yes, follow the path below from the front panel of your PS C7280:
    Setup Menu > Network > Wireless Network Test
    Here you will see the IP address, you can input that into a Web Browser to access the EWS and complete a Webscan.
    Please let me know if this helps, I will leave you with the our technical support #- 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Let me know the outcome, I will watch for your reply.
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • I have been experiencing connection issues with loading web pages. It's as if the web pages do not want to load all the way and some times not at all. This has happen with all three of my computers with the same browsers.

    There are times when web pages do not want to load fully and other times not at all. They just continue to open up with a blank screen. My routers light flash during this process and then they stop as if no connection is being made. I do know for sure it is not my ISP or internet explorer browser.
    Thank you,
    David [email protected]

    I continue to have this problem and have tried all recommendations so far...I notice also when I click on a web site on the taps side of browser once it starts loading however it does not connect, web site comes up just blank while it continues to search. The same thing happens while in an email program with clicking in the email link and page pops up and continues to search for the web site. You have to reload over and over again until it finally locates it and then opens. Should I uninstall the Firefox browser and install again.....?

  • Internert Explorer 8.0 issues on refreshing web pages - FireFox, no issue

    Dear SAP,
    I do have a problem to get back a web page from my Internet Explorer 8.0 Browser.
    Let's summarize - we are working on a SRM-JAVA system :
    1. http://sl9srmdev.bull.local:50000/index.html
    2. I choose Employe Self-Service
    3. Then I click on 'Catalog' web-llink.
    4. I select an article
    5. I check the detail.
    When I click to back to return to the previous page, the cursor hangs up ... hangs up ... hangs up.
    With FireFox, I do not have any problem.
    Do you have any tools to recommend me to localise this error ?
    Best regards
    PC

    Hi
    Did you check with IE 7.0?
    IE8.0 gives same problem with BSP applications also.
    Regards
    Nagaraju

  • Still Getting Buffering Issues and Slow Web Page L...

    Since I suspect this issue hasn't gone away - and I/we have been asked to post issues individually rather than clumping into a single tread.
    I just got back from Spain and after quizzing family it seems we are still getting Stream Buffering Issues (again)  (requires a refresh restart << I suspect lost packets rather than speed decrease) and webpages sometimes don't load correctly and require a refresh to load all page elements.
    Just before I left there was an Openreach engineer working on the CAB and my noise margin doubled (but given my distance from the CAB and no speed issues I think the higher margin is a bonus not a negative << so hard to get uncontradictary posts or guidance on the web about Noise Margins - speeds still ok atm according to BTW but havent been back long enough to monitor thru the day/night.
    I can only assume there are still backhaul issues ongoing.
    I notice other ISP forums eg Plusnet noting capacity contention issues but BT remains Silent.
    It's such a shame BT aren't more forthcoming to their customers and I feel really cheated/mis-sold by the whole Infinity 2 product 'never have to buffer again' - advertising hype. This has been a problem here since mid December - so we're talking a month worth of connection issues.
    Since someone will probably ask me for HH stats - here you go - apologies to all those more than 20m from the CAB who are struggling on much slower speeds (I feel for you honest) and in terms of the available speeds etc feel this HAS TO BE a BTW backhaul issue - be it from exchange or in the core.
    I'm all open to comment/solutions
    1. Product name: BT Home Hub
    2. Serial number: +068343+NQ41735167
    3. Firmware version: Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version: BT Hub 5A
    5. VDSL uptime: 6 days, 15:45:33
    6. Data rate: 19999 / 79995
    7. Maximum data rate: 29234 / 106435
    8. Noise margin: 15.2 / 13.0
    9. Line attenuation: 0.0 / 4.7
    10. Signal attenuation: 0.0 / 4.7
    11. Data sent/received: 6.2 GB / 9.9 GB
    12. Broadband username: [email protected]
    13. BT Wi-fi: Yes

    Short answer Ray - nope I only use WiFi on the phone.
    Well for the benefit of others as much as myself I am still having issues and gave up on an iPlayer (live stream) due several bursts of buffering again tonight which made me miss the bits I was really interested in.
    So...
    Eliminating anything in the home the following tests are done directly into the HH5s Gb port. I normally use a switch in this port to seperate my PC's from iThings and anything else on WiFi  (the kids)(BTFon/X) - never had any issues with my switch tho and it will push pull files to/from my NAS or transfer files around my three PCs at full speed << so no concerns there, but NOT used in these tests.
    All wired with industry Grade CAT6 << even ran a checker tool on it and no probs << yip I have such things available.
    Following Stats are after a complete shut down :
    PC Restarted without Firewall or any AntiVirus - no other network connections active and HH5 WiFi Dissabled. HH5 Power Off and Factory Reset (I've tried previously as suggested by other posters using the Openreach modem but since it didnt solve anything just went back to the HH5 to save a power socket and my HH5 can stay up for 13 or so days without issues so I don't suffer in disconnection issues dept). Ok i could buy another router but I doubt its the problem and im just **bleep** away cash for what would then be a replacement for 'not fit for purpose' supplied equipment.
    Quiet Line test = clear << tested master socket with wired phone.
    My Cabinet :
    BTWholesale Speed Test :
    Interestingly i'm getting way lower UPLOAD than the minimum even on an impaired line (I'm only about 20m from the cabinet as the cable runs - less if I want to kick it) << this does seem to fluctate a lot.
    TBB Speedtest :
    I'm open to suggestions but have just about had enuff...
    I still maintain this is a congeston issue but that BT are in total denial to customers about what traffic shaping occurs to maintain the QoS for their YouView and BTSports Customers at the expense of other data under 'abnormal conditions' like lack of capacity.
    So unless a MOD wants to jump in and resolve this quickly, I have several letters ready to go to various parts of BT - Customer Complaints/Sales(for misleading claims)/and Legal Dept. Just need the stamps + a cc copy to Ofcom. This is the last phase of having done ALL I CAN BE REASONABLY EXPECTED TO DO through the BTs compaints proceedures. so that I can send a breach of contract notification to escape this madness.
    Yours xx, a very dissatisfied customer.

  • Need some guidance - SQL Query Bind Variables for VO Object

    Hi,
    I'm trying to customize a custom page and I'm new to this. Can you please guide me or send me an example on how to do this?
    1) VO is having the query as "SELECT INVOICE_NUM, INVOICE_DATE, INVOICE_AMOUNT, ...... from AP_INVOICES_ALL" (no parameters in the where clause)
    2) Added VO to AM
    3) XML PG is designed with MainRN, QueryRN, and Instance of VO1 as Table region. Selected INVOICE_NUM, INVOICE_DATE as Searchable. QueryRN is ResultbasesSearch.
    4) Deployed to E-Biz and users were able to query using INVOICE_NUM or INVOICE_DATE fields that are available in the QueryRN.
    Now, they want to add FROM_INVOICE_DATE and TO_INVOICE_DATE to the Search Condition. So, I have added the condition in the VO Query as "SELECT INVOICE_NUM, INVOICE_DATE, INVOICE_AMOUNT, ...... from AP_INVOICES_ALL WHERE INVOICE_DATE between :0 and :1".
    How to add these fields FROM_INVOICE_DATE and TO_INVOICE_DATE to the QueryRN? These are not part of VO.
    How to bind them to :0 and :1? I don't see any controller here? Do I need set a new controller and write logic for getting result set?
    Any sample script or link would really help.
    Thanks in advance.
    Ram

    Hi Ram,
    Hmmm, it is interesting.
    Add two attributes to the page fromDate and toDate and in the controller class capture the values (like String fromDate = pageContext.getParameter("FromDate");) and invoke a method from AM and pass these parameters.
    In the AM method call a method of VO and the VOImpl set and pass the bind parameters and execute the query again.
    like
    setWhereClause(" from_date = :1 AND to_date = :2");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, fromDate);
    setWhereClauseParam(1, toDate);
    executeQuery();
    Hope this will answer your question.
    Krishna.

Maybe you are looking for

  • Can't hear sounds.

    Help! This one's weird! I'm new to Logic Express, but have been MIDI sequencing in Windows running Cakewalk for about 12 years, so not complete newbie. At the moment, due to building in my house, I can only use LE through the built in speaker, so tho

  • How to check a parameter for legitimate blank value?

    Hi, I have a parameter with a drop down for a standard field from table BSEG. There are 3 possible values in the drop down, i.e. blank, 1, or, C. If the user enters '1' or 'C' there is no problem I can use this value in my code, i.e. I can select fro

  • Sequence file Version number. How to prevent the automatic resetting build version number whilst auto-incrementing revision number?

    Hi, I've got my environment set this way that each save of the sequence file increase the revision part of version number. However, during that increase the build counter is reset to 0. How to prevent it? TS 4.2

  • Travel Mgt: Multiple trips possible in 4.7?

    Hello, I am working on ECC 5.0 and I can create more than one trip on the same day. We want to implement also TE for another client who is still on 4.7?  It seems that on 4.7 it is not possible to create multiple trips on the same day.  Am I missing

  • Client requirment for 10g RAC

    Hi, We are planning to deploy Oracle 10g RAC on itanium Cluster. What is the Client and its version requirement to take full advantage of 10g RAC load balancing/fail over ? Shanmu India.