Static sql vs Dynamic Sql

All sort of Mainframes Interview Questions.
Post Reply
Anithab
Registered Member
Posts: 44
Joined: Mon May 26, 2014 2:57 pm

Static sql vs Dynamic Sql

Post by Anithab »

Hi all,

I got a question on what is the difference between a static sql and a dynamic sql.....

I replied saying Static sql is freezed at compile time and Dynamic is only prepared and freezed at run time

I then got a question saying Are sql's with host variable a Dynamic sql , I was confised with that

Can someone throw some light on this?
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Static sql vs Dynamic Sql

Post by zprogrammer »

zprogrammer
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”