• Visitors can check out the Forum FAQ by clicking this link. You 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. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

oracle view

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by Spacecadet View Post
    ok - so its not the view holding thigs up

    can you query the user_views table?
    Is that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good.

    Comment


      #12
      Originally posted by Bob Dalek View Post
      Is that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good.
      All he said was that the DBA won't supply the SQL, not that he can't
      Coffee's for closers

      Comment


        #13
        Originally posted by Spacecadet View Post
        All he said was that the DBA won't supply the SQL, not that he can't
        Yes. That'd sound very convincing if the w@nky DBA decides to play the "Security" card with the boss. 10 points.

        Comment


          #14
          Originally posted by Spacecadet View Post
          ok - so its not the view holding thigs up

          can you query the user_views table?
          are you saying that there is a system table that will hold the views sql string ?
          (if so, i am getting a stiffy)







          (\__/)
          (>'.'<)
          ("")("") Born to Drink. Forced to Work

          Comment


            #15
            Originally posted by EternalOptimist View Post
            are you saying that there is a system table that will hold the views sql string ?
            (if so, i am getting a stiffy)
            yes
            Coffee's for closers

            Comment


              #16
              Originally posted by Spacecadet View Post
              yes
              and will it be in any sort of schema ? like dbo.


              select * from dbo.user_views





              (\__/)
              (>'.'<)
              ("")("") Born to Drink. Forced to Work

              Comment


                #17
                Originally posted by EternalOptimist View Post
                are you saying that there is a system table that will hold the views sql string ?
                (if so, i am getting a stiffy)

                Any object's DDL:

                SET SERVEROUT ON SIZE 1000000 LONG 1000000 PAGES 9999 LINES 200
                execute dbms_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SE SSION_TRANSFORM,'SQLTERMINATOR',true);

                SELECT DBMS_METADATA.GET_DDL('<object_type>','<object_nam e>','<owner>')
                FROM DUAL;

                The DBA may well dob you in.

                Comment


                  #18
                  Originally posted by Bob Dalek View Post
                  Any object's DDL:

                  SET SERVEROUT ON SIZE 1000000 LONG 1000000 PAGES 9999 LINES 200
                  execute dbms_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SE SSION_TRANSFORM,'SQLTERMINATOR',true);

                  SELECT DBMS_METADATA.GET_DDL('<object_type>','<object_nam e>','<owner>')
                  FROM DUAL;

                  The DBA may well dob you in.
                  Add the following to the statement:
                  /* if you spent your time helping rather than spying on me then I wouldn't have to do this */

                  include any choice swearwords as you see fit
                  Coffee's for closers

                  Comment


                    #19
                    Call the DBA "Burleson" - if he's got any current savvy, he'll be well pissed off.

                    Comment


                      #20
                      Originally posted by Bob Dalek View Post
                      Is that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good.
                      I agree with that. Ask him (by email) to help. When he doesn't, go to the next contact point. Ask for the resources you need. Raise the slow response of the view (or its unsuitability for this requirement) as an issue.

                      You're still talking about the view as an issue at this stage, not the boneheadedness of the DBA. BTW if the DBA really is boneheaded, it will have been noticed already.

                      Comment

                      Working...
                      X