Invalid object name for Next value from sequence  using sqlserver 2012

Select SequenceName.nextVal into lint from dual ;
Invalid object name error message is coming when using sqlserver 2012
Please help

Hello,
Create the sequence and a stored procedure which returns the sequence as follows:
CREATE SEQUENCE mySequence_tinyint AS tinyint
GO
CREATE PROCEDURE Central_CreateSequence
   @NextID BIGINT OUTPUT
AS
BEGIN
   SET NOCOUNT ON;
   SELECT @NextID = NEXT VALUE FOR mySequence_tinyint;
END
GO
In PowerBuilder, run this script:
long ll = -10
DECLARE proc PROCEDURE FOR Central_CreateSequence @NextID = :ll OUTPUT;      
EXECUTE proc;
FETCH proc INTO :ll;
CLOSE proc;
IF SQLCA.SQLcode <> 0 THEN
MessageBox("error", SQLCA.sqlerrtext)
END IF
MessageBox("", ll)
I know there can be other ways to return the next value of the sequence...
HTH
Jacob

Similar Messages

  • Invalid object name 'dbo.v_R_System'

    Hi,
    About six months ago I implemented SCCM in our domain and it's been working great. This morning, when I attempted to run one of the Asset Intelligence reports in the console, I received the following error...
    An error has occurred during report processing. (rsProcessingAborted)
    ...uh oh! So I logged onto our SQL database server, opened up the Report Manager in IE and attempted to run the same report. This time I got a bit more...
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DataSet0'. (rsErrorExecutingCommand)
    Invalid object name 'dbo.v_R_System'. Could not use view or function 'fn_rbac_R_System_Valid' because of binding errors.
    ...I'm no SQL admin, so time to ask Mr Internet. The only related post I could find was the first one you get when you search "dbo.v_R_System missing" on any search engine (the ones I tried anyway).
    ...which wasn't particularly helpful.
    One thing I did try, which I thought was worth a shot, was to create a new database in Reporting Services Configuration Manager. After a few minutes that populated nicely with all the reports,
    but I'm still getting the same problem.
    We've got a really simple environment. Two Windows Server 2008 R2 servers for SCCM,
    one running the site database and reporting server and the other doing everything else. Database is running on Microsoft SQL Server 2012.
    Any ideas?
    Cheers,
    Dave

    I was also missing that same view.  I can't believe it.  In production and in my test environment we are on ConfigMgr 2012 SP1 CU3.  I started the upgrade on my test environment and it failed saying that it couldn't find that view. 
    I went to our production environment and the view existed.  I scripted the creation of the view and then created the view in our test environment.  The upgrade successfully completed after that.  Thanks for leading me in the right direction!

  • SSRS Error : Query execution failed for dataset 'dataSet'. (rsErrorExecutingCommand) Semantic query execution failed. Invalid object name 'RPT.*********'. (rsSemanticQueryEngineError)

    I am new to SSRS and I am trying to migrate reports from 2008 to 2012. As I have so many reports to migrate, I simply got the back up of ReportServer,
    ReportServerTempDB, and Encryption Key and restored them to test environment. I made necessary configuration from RS configuration tool. I am able to see the reports now when I browse //hostname/reports. But when I open any particular report I am getting some
    error.
    · An error has occurred during report processing.
    (rsProcessingAborted)
    Query execution       failed for dataset 'dataSet'.
          (rsErrorExecutingCommand
    Semantic query        execution failed. Invalid object name
           'RPT. ******'. (rsSemanticQueryEngineError)
    ****** - I am assuming this is a custom data class.
    Does anyone have insight on this? or any better way that I can migrate the reports to new server with less efforts.
    I don’t have the reports solution file to deploy the reports, so I have followed backup and restore process.

    Hi Kishore237,
    According to your description, you migrated some reports from Reporting Services (SSRS) 2008 to 2012. Now you get error when accessing the reports on SSRS 2012. Right?
    In this scenario, did you modify the report data source in database after migration? You can try to open the report in Report Builder or Report designer and check the report dataset. If you can preview the report in Report builder or Report designer,
    please try to redeploy the report to Report Server. If it is still not working, please try to restore the database from backup. And for migrating reports, please follow the "Content-Only Migration" in the link below:
    http://msdn.microsoft.com/en-us/library/ms143724(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Invalid Object Name When Executing from Report Manager

    I ran some code to create a modified view of ExecutionLog3 on a SQL Server 2012 instance.  The ReportServer and ReportServerTempDB were transferred from a 2005 instance and are still on that compatibility level. After creating the new view, I 
    created a report in SSDT and it runs fine.  I deployed the dataset followed by the report.  I went to Report Manager to test it and the report fails with the following:
    An error has occurred during report processing. (rsProcessingAborted)
    The execution failed for the shared data set
    'ExecutionLog'. (rsDataSetExecutionError)
    Query execution failed for dataset ''. (rsErrorExecutingCommand)
    Invalid object name 'ExecutionLog3_Modified'.
    The code for the view is below and it came from MSSQLTips.  Why does the report run fine from SSDT and fail in Report Manager?
    USE [ReportServer]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE VIEW [dbo].[ExecutionLog3_Modified]
    AS
    SELECT
    EL.InstanceName,
    COALESCE(C.Path, 'Unknown') AS ItemPath,
    EL.UserName,
    EL.ExecutionId,
    CASE(EL.RequestType)
    WHEN 0 THEN 'Interactive'
    WHEN 1 THEN 'Subscription'
    WHEN 2 THEN 'Refresh Cache'
    ELSE 'Unknown'
    END AS RequestType,
    -- SubscriptionId,
    EL.Format,
    Parameters,
    CASE(EL.ReportAction)
    WHEN 1 THEN 'Render'
    WHEN 2 THEN 'BookmarkNavigation'
    WHEN 3 THEN 'DocumentMapNavigation'
    WHEN 4 THEN 'DrillThrough'
    WHEN 5 THEN 'FindString'
    WHEN 6 THEN 'GetDocumentMap'
    WHEN 7 THEN 'Toggle'
    WHEN 8 THEN 'Sort'
    WHEN 9 THEN 'Execute'
    ELSE 'Unknown'
    END AS ItemAction,
    EL.TimeStart,
    YEAR(EL.TimeStart) AS Start_Year,
    MONTH(EL.TimeStart) AS Start_Month,
    DATENAME(MONTH,EL.TimeStart) AS Start_Month_Name,
    DATENAME(DW,EL.TimeStart) AS Start_Day_Of_Week,
    DATEPART(WEEKDAY,EL.TimeStart) AS Start_Day_Number_of_Week,
    EL.TimeEnd,
    EL.TimeDataRetrieval,
    EL.TimeProcessing,
    EL.TimeRendering,
    CASE(EL.Source)
    WHEN 1 THEN 'Live'
    WHEN 2 THEN 'Cache'
    WHEN 3 THEN 'Snapshot'
    WHEN 4 THEN 'History'
    WHEN 5 THEN 'AdHoc'
    WHEN 6 THEN 'Session'
    WHEN 7 THEN 'Rdce'
    ELSE 'Unknown'
    END AS Source,
    EL.Status,
    EL.ByteCount,
    EL.[RowCount],
    EL.AdditionalInfo,
    C.Name,
    C.CreatedByID,
    C.ModifiedByID,
    C.Description,
    C.CreationDate,
    C.ModifiedDate,
    CASE
    WHEN C.TYPE=1 THEN 'Folder'
    WHEN C.TYPE=2 THEN 'Report'
    WHEN C.TYPE=3 THEN 'XML'
    WHEN C.TYPE=4 THEN 'Linked Report'
    WHEN C.TYPE=5 THEN 'Data Source'
    WHEN C.TYPE=6 THEN 'Model'
    WHEN C.TYPE=8 THEN 'Shared Dataset'
    WHEN C.TYPE=9 THEN 'Report Part'
    END AS Type_Description
    FROM
    ExecutionLogStorage AS EL
    LEFT OUTER JOIN Catalog AS C ON (EL.ReportID = C.ItemID)
    GO
    Lee Markum

    Hi Lee,
    According to your description, you can't process the dataset when viewing the report on report server. Right?
    In this scenario, as you can see the dataset name in error message is empty, and it says "Invalid Object Name". Because you have already created a view in your database. When you run this report again, this query be executed again so that you can
    not create another view with same name. So you just need to query the view directly when creating dataset. 
    Select * from ExecutionLog3_Modify
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Sender CC for MS SQL 2005 Driver error invalid object name

    Hello people,
    can some one help me with the following problem?
    I'm trying to implement a JDBC to IDoc XI/PI scenario with PI 7.1.
    In RWB CC monitor i'm getting the following error : "Database-level error reported by JDBC driver while executing statement 'SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_SALES_TRANS_PAYMENTS'.'. For details, contact your database server vendor".
    Communication channel configuration:
    JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection: jdbc:sqlserver://<IP>:1433;databaseName=<DB Name>
    Query SQL Statement is : "SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'"
    Update SQL Statement: "UPDATE SAP_SALES_TRANS_PAYMENTS SET TRANSFERRED_FLAG='1' WHERE TRANSFERRED_FLAG='0'"
    The name of the database is 'SAP_SALES_TRANS_PAYMENTS', is checked.  Are the table name and/or table fields names key sensitive?
    The MT definition is identical with the data base table.
    Thanks Stefanos

    Hello,
    this issue is solved now.
    The problem was in the name of the database table. The Database was created for more then one
    company codes (by an other partner company ) and the full/right name in the query is
    SELECT * FROM dbo.<company_code>$SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'
    Best regards
    Stefanos

  • ERROR - JBO-25005: Object name  for type View Object is invalid

    Hi All,
    I am getting this error "JBO-25005: Object name for type View Object is invalid" while executing my VO query in Controller code. Can any one please tell me the reason behind this error?
    I am creating a VO dynamically and .xml file of a VO is placed in a proper directly. Please let me know some inputs to resolve this.
    Thanks & Regards,
    -Abm

    I found the below explanation for the error mentioned. Check if your package name, Object names confirm to the standard specified
    JBO-25005: InvalidObjNameException
    Cause: An attempt has been made to associate a business component name with an object for which it is not valid.
    Action: The name should be a valid Java identifier with no spaces or punctuation. Names are of the format myProjectPackage.BusinessPackage.BusinessComponent

  • JBO-25005: Object name  for type View Object is invalid

    Hi All,
    my workflow page is not opening when i try to open it by using some different responsibility.
    Its throwing an error message:
    JBO-25005: Object name for type View Object is invalid
    any suggestions?
    Thanks,
    NSP

    Hi NSP,
    Check if any personalization been done at responsibility level , that might be causing the issue .
    Also check the AOL functions as well .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                           

  • How to insert a value from sequence in Bussiness Components?

    How to insert a value from sequence in Bussiness Components?
    I would like to do it, but without a triger that would do it before insert.
    I know that there is a type DBSequence in BC where you can insert a sequence name but it does not work when I type there my sequence name.
    Do you now how to fix that problem?
    Bart.

    The newer way to do it is to make the type DBSequence and enter the name of the Sequence object in the sequence field. It must match the same name of the sequence object in the database. Next, you have to create a before insert for each row trigger on the table. Basically, something like this:
    CREATE OR REPLACE TRIGGER TGB_THEME_SEQ
    BEFORE INSERT ON THEME
    FOR EACH ROW
    DECLARE
    BEGIN
    -- Assign the id from the sequence if null
         IF( :new.theme_id IS NULL ) THEN
              SELECT THEME_ID_SEQ.nextval
              INTO :new.theme_id
              FROM dual;
         END IF;
    END;
    In the above example, THEME_ID_SEQ is the seuence object name in the database. If you have the name right but it still fails, then the user you are logging in as probably doesn't have access to the sequence in the database.
    Hope this helps.
    Erik

  • ExecuteBaseLogic::Invalid object name 'tblStatus'  when submitting data

    Hi experts,
    I've encounter the following error while submitting data via input schedule:
    ExecuteBaseLogic::Invalid object name 'tblStatus' in: select distince d.CATEGORY,d.ENTITY,d.TIMEID from #RESULT_334020 d where signeddata<>0 and exists [select * from tblstatus s where [APP]='TIS' and d.CATEGORY=s.CATEGORY and d.ENTITY=s.ENTITY and d.TIMEID=s.TIMEID and [Status]>0).
    I did not find any OSS notes on this and not sure what is the problem. Appreciate your advise on this issue.
    Thanks!

    Hi!
    I have encountered the same problem as you have when starting an SSIS package with the setting: "Check for work status settings". According to SAP in BPC 5 SP 6 this setting must not be chosen.
    I guess, that this setting is somehow passed to your default logic. So, you can try the following:
    In BPC for Excel go to eData / Organize Package List; choose the company folder and in this the System Administration group. Select "Default Formulas" and click the edit button (a sheet with a pencil). In the pop-up box click the edit button next to the field with the file name (that's a sheet with a magnifying glass). In the new pop-up box click "Advanced". Put an apostrophe (') before the prompt for %CHECKLCK% and replace
    TASK(Execute formulas,CHECKLCK,%CHECKLCK%)
    with
    TASK(Execute formulas,CHECKLCK,0)
    Then try again. Maybe, this works.
    Best regards,
    Hartmut
    Edited by: Hartmut Kesper on Feb 9, 2009 2:45 PM

  • Invalid object name 'DUAL'

    setup 11g dg4msql to connect to a microsoft sql 2005 server
    all sqlplus select statements fail
    select * from dual@dg4msql;
    SQL> select * from dual@debtcon;
    ERROR:
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=
    ORA-02063: preceding line from DEBTCON
    Process ID: 11597
    Session ID: 249 Serial number: 95
    no rows selected
    The logfile shows errors:
    Entered hgopoer at 2010/03/01-13:14:45
    hgopoer, line 233: got native error 208 and sqlstate 42S02; message follows...
    [Oracle][ODBC SQL Server Driver][SQL Server]Invalid object name 'DUAL'. {42S02,NativeErr = 208}
    Exiting hgocont, rc=0 at 2010/03/01-13:46:54 with error ptr FILE:hgocont.c LINE:2685 FUNCTION:hgocont() ID:SQLDriverConnect
    hgopoer, line 233: got native error 1007 and sqlstate 22003; message follows...
    [Oracle][ODBC SQL Server Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
    later on in the logfile it appears to actually fetch the table's columns :
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    5 SMALLINT Y 2 2 0/ 0 0 0 0 uid
    5 SMALLINT Y 2 2 0/ 0 0 0 0 status
    12 VARCHAR N 384 384 128/128 873 0 40 name
    -3 VARBINARY Y 85 85 0/ 0 0 0 20 sid
    -3 VARBINARY Y 2048 2048 0/ 0 0 0 20 roles
    91 DATE N 16 16 0/ 0 0 0 0 createdate
    91 DATE N 16 16 0/ 0 0 0 0 updatedate
    5 SMALLINT Y 2 2 0/ 0 0 0 0 altuid
    -3 VARBINARY Y 256 256 0/ 0 0 0 20 password
    5 SMALLINT Y 2 2 0/ 0 0 0 0 gid
    12 VARCHAR Y 255 255 0/ 0 0 0 200 environ
    4 INTEGER Y 4 4 0/ 0 0 0 0 hasdbaccess
    4 INTEGER Y 4 4 0/ 0 0 0 0 islogin
    4 INTEGER Y 4 4 0/ 0 0 0 0 isntname
    4 INTEGER Y 4 4 0/ 0 0 0 0 isntgroup
    4 INTEGER Y 4 4 0/ 0 0 0 0 isntuser
    4 INTEGER Y 4 4 0/ 0 0 0 0 issqluser
    4 INTEGER Y 4 4 0/ 0 0 0 0 isaliased
    4 INTEGER Y 4 4 0/ 0 0 0 0 issqlrole
    4 INTEGER Y 4 4 0/ 0 0 0 0 isapprole
    But displays nothing in the sqlplus output !!??
    Edited by: user12701320 on Mar 1, 2010 10:52 AM

    Hi,
    On which platform have you installed DG4MSQL and what is the full version -11.1 or 11.2 ?
    The only similar problems are on Linux where the operating system install has not been installed to comply with Oracle requirements.
    The actual problem cause is this error -
    hgopoer, line 233: got native error 1007 and sqlstate 22003; message follows...
    and the 'dual' error is not relevant at the moment.
    Regards,
    Mike

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Query timeout expired and Invalid object name

    I have a program that processes data (dequeues) and polls about every 2.5 seconds - normally there are several records to process per second - it does this constantly 24/7.  The program runs fine at about 100 sites. At 2 sites the following error occurs
    about once per day. Typically the table has less than 10 records that get processed ie read then deleted. DataObjects are used ie the data is read, connection closed, processed, deleted using T-SQL from ADO - ie transactions are as short as possible.  
    Error#-2147217871 Query timeout expired. SQL:SELECT RealID, RxerID, PhoneID, Min(ServerDtTm), min(ID) FROM dbo.tblPreReceiver GROUP BY RealID, RxerID, PhoneID ORDER BY Min(ServerDtTm), min(ID)
    Inner exception Error No. -2147217865. Error Desc:Invalid object name 'dbo.tblPreReceiver'.. Native Error:208 Source:Microsoft OLE DB Provider for SQL Server SQL State:42S02.
    SQL Server 2008R2 (Express at one site and Standard another).
    The program then runs again 2.5 seconds later without error.
    Can anyone explain why? 
    I suspect it is a blocking error but the error message does not suggest this at all.  There is another application which writes to this queue, this does not report the error. 

    Yes, blocking can be the cause. The default command timeout is 30 sec and if the table is locked by an other process, the command waits until the table is accessable ... or the timeout raises. You could increase the timeout value or you could perform "dirty
    read" = ignoring lock, but I don't want to suggest to do it.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to pass column name as a   values from one page  to another

    hi
    i have created a report(pivot) from a table
    SQL> SELECT * FROM T;
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    A   AB           3                    2
    A   AC           2                    3
    B   AB           5                    4
    B   AC           6                    5
    SQL> SELECT C1
      2  ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
      3  ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
      4  ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
      5  ,SUM(C3) FROM T GROUP BY C1;
    C1          AA         AB         AC    SUM(C3)
    A            2          3          2          7
    B                       5          6         11
    SQL>
    my requirement in Apex is like this(reverse)
    eg-
    when i click on cell values '2' then,it should return
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    {quote}how to pass column name as a  values from one page to another
    for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
    Report
    Amu

    thanks for your reply
    i 'm doing what exactly you mention here .
    my problem here is
    i have 15 columns
    i am executing a query based on the values of the column(column name)  in the target page
    1)here i am passing(all) the column values to the next page-but  i want to pass only one column values(column name)
    when i click on any cell of that  column
    OR
    2)i can pass all column name to target page -there(in the target page) i can filter out
    i think option 1 would good if you filter out the unwanted columns
    Regards
    Amul

  • Report error, Invalid object name 'v_lu_cpu'

    Hi
    I have a report that I have imported from another SCCM server that has it working. I have changed the datasources after the import but when I try to run the report I get this error message: 
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DataSet0'. (rsErrorExecutingCommand)
    Invalid object name 'v_lu_cpu'.
    Does anybody know what this means?

    Ok, then I understand.
    I'm not that good at reporting so if anybody can help out with replacing the code that uses v_lu_cpu with
    something else, it would be very kind. Thank you
    SELECT DISTINCT 
    v_r_system.netbios_name0 AS "Computer Name", 
    v_r_system.Description0 AS "Description", 
    v_gs_system_console_usage.topconsoleuser0 AS "Top Console User", 
    v_GS_PC_BIOS.serialnumber0 AS "PC Bios Serial Number", 
    v_gs_computer_system.manufacturer0 AS "Computer Manufacturer", 
    v_gs_computer_system.model0 AS "Computer Model", 
    CASE 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'Dell%' 
    THEN 'http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?servicetag=' + v_gs_system_enclosure.serialnumber0 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'Hewlett%' 
    THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US' 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'HP%' 
    THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US' 
    ELSE '(Not available)' 
    END AS "Warranty Information" 
    FROM v_gs_processor 
    INNER JOIN v_r_system 
    ON v_gs_processor.resourceid = v_r_system.resourceid 
    INNER JOIN v_gs_system_enclosure 
    ON v_gs_system_enclosure.resourceid = v_r_system.resourceid 
    INNER JOIN v_GS_PC_BIOS 
    ON v_GS_PC_BIOS.resourceid = v_r_system.resourceid 
    INNER JOIN v_gs_computer_system 
    ON (v_gs_computer_system.resourceid = v_r_system.resourceid) 
    LEFT JOIN v_gs_system_console_usage 
    ON v_gs_system_console_usage.resourceid = v_r_system.resourceid 
    LEFT JOIN v_lu_cpu 
    ON Lower(v_lu_cpu.cpuhash) = Lower(v_gs_processor.cpuhash0) 
    WHERE v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 <> 12 
    AND 
    v_gs_computer_system.manufacturer0 NOT LIKE 'VMware%' 
    AND 
    v_gs_computer_system.model0 NOT LIKE 'Virtual Machine' 
    AND
    v_R_System.Operating_System_Name_and0 LIKE 'Microsoft Windows NT Workstation%'

Maybe you are looking for