Enterprise Manager "Return all rows" problem

  • We are running SQL Server 2000, SP3, Standard Edition. From Enterprise Manager, when I right mouse click on the table PS_SCHOOLS_TBL, select “open table”, “return all rows”, no records are returned. If I click the SQL button, I see why. The name in the select statement has changed to PSYSCHOOLS_TBL. However, if I select “open table”, “query”, the correct table is shown and records return properly.

     

    Both tables are in the database, and seem to behave normally otherwise. Query Analyzer displays and runs them properly.

     

    I have run “update statistics” on each table. Does anybody have any suggestions about what might be wrong? Should I bother recreating the table?

     

    Thanks,

    JFW

  • Out of curiousity, have a look to see what it says in sysobjects for that particular table.....

  • I hope this aligns ok:

    namePSYSCHOOL_TBLPS_SCHOOL_TBL
    id261680080293680194
    xtypeUU
    uid11
    info88
    status16106127361610612737
    base_schema_ver018
    replinfo00
    parent_obj00
    crdate9/9/20049/9/2004
    50:40.255:45.9
    ftcatid00
    schema_ver016
    stats_schema_ver02
    typeUU
    userstat11
    sysstat6783
    indexdel00
    refdate9/9/20049/9/2004
    50:40.255:45.9
    version00
    deltrig00
    instrig00
    updtrig00
    seltrig00
    category00
    cache00
  • I'm having a similar issue, but in my case we are trying to open the table's records via the Object Browser.  2 different tables, both return all rows, but only 1 let's you edit the records on the fly.  I compared the difference with several tables and have concluded that the sysstat field's value, whether 67 or 83, is the reason.  But one cannot simply update this value since it's a computed sql field... I believe it's values are written in binary.

    Thought this might help you since your 2 records also show a difference in value there.

  • Thanks for your reply robrador. I since have learned that our problem was the result of People Soft scripts that use the Y in PSY as a way to generate a temporary table name during its alter process. Apparently the script failed midstream, leaving the temporary file in some kind of unstable status. We solved our problem by deleting the unnecessary temporary file. We have not seen a recurrence of this problem.

    JFW

     

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply