Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are Dynamic SQL statements?

Answer Posted / vishal kumar

Sql statement should be written in quotes like

'select table1.col1, tabel2.col2 from table1,table2 where
table1.col3=table2.col4'
and we can execute through below command "execute immidiate"
EXECUTE IMMEDIATE 'select table1.col1, tabel2.col2 from
table1,table2 where table1.col3=table2.col4'

it execute at runtime, means its not allowed as static.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use cursors?

918


What is sql in java?

1025


Differentiate between syntax and runtime errors.

1119


What are inner outer left and right joins in sql?

961


What is the difference between in and between in sql?

993


Does sql require a server?

941


What is sql clause?

992


What are the types of optimization?

886


What is the left table in sql?

910


What is sql engine in oracle?

924


Can a primary key be a foreign key?

968


What are the uses of merge?

1116


explain the advantages and disadvantages of stored procedure? : Sql dba

956


Does db2 use sql?

888


What is the difference between union and union all command?

1006