Results 1 to 6 of 6

Thread: cursor

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: cursor

    If you add a new column or make modifications in table structure then all the dependent objects will become invalid. You have to recompile all dependent objects.


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: cursor

    >>i have created cursor.how is updated new column in cursor

    Still your question is not clear.

    To add a new column in your cursor definition just include that column name in cursor definition.


    CURSOR C1 is
    SELECT column1,column2,newcolumn FROM tablename;


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact