logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Difference between Embeded SQL and Dynamic SQL?


  • Correct Answer
  • Static (embedded) SQL: 1In static SQL how database will be accessed is predetermined in the embedded SQL statement 2It is more swift and efficient 3SQL statements are compiled at compile time 4Parsing, validation, optimization, and generation of application plan are done at compile time 5It is generally used for situations where data is distributed uniformly 6EXECUTE IMMEDIATE, EXECUTE and PREPARE statements are not used 7 It is less flexible Dynamic (interactive) SQL: 1In dynamic SQL, how database will be accessed is determined at run time 2It is less swift and efficient 3SQL statements are compiled at run time 4Parsing, validation, optimization, and generation of application plan are done at run time 5It is generally used for situations where data is distributed non-uniformly 6EXECUTE IMMEDIATE, EXECUTE and PREPARE statements are used 7It is more flexible 


  • Technology problems


    Search Results


    • 1. How do you display last 5 records in DB2?
    • Discuss
    • 2. What is NOTCAT2?
    • Discuss
    • 3. Name and explain the type of locks?
    • Discuss
    • 4. What is sqlcode -811?
    • Discuss
    • 5. What is REORG? When it is used?
    • Discuss
    • 6. What is DBRM? What it contains? When it will be created?
    • Discuss
    • 7. How does DB2 use multiple table indexes?
    • Discuss
    • 8. What is SPUFI?
    • Discuss
    • 9. What is Mainframe Testing?
    • Discuss
    • 10. What is SQLCA?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment