Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Case uitwerking

Assignments solutions

Beoordeling
-
Verkocht
-
Pagina's
2
Cijfer
A+
Geüpload op
23-10-2021
Geschreven in
2019/2020

Assignments solutions

Instelling
Vak

Voorbeeld van de inhoud

CS2203 Discussion 8

Static or Embedded SQL are SQL statements in an application that do not change at runtime
and, therefore, can be hard-coded into the application. Using Static SQL has a benefit which is
the optimization of the statement that results an application with high performance as it offers a
good flexibility. (GeeksforGeeks, n.d.)

Dynamic SQL is SQL statements that are constructed at runtime; for example, the application
may allow users to enter their own queries. Dynamic SQL allows you to create more general
purpose, flexible applications because the full text of a SQL statement may be unknown at
compilation. (GeeksforGeeks ,n.d.)

Limitation of Dynamic SQL:
We cannot use some of the SQL statements Dynamically.
Performance of these statements is poor as compared to Static SQL.

Limitations of Static SQL:
They do not change at runtime thus are hard-coded into applications. (GeeksforGeeks ,n.d.)



Differences between Static SQL and Dynamic SQL
Static (Embedded) SQL Dynamic (Interactive) SQL
In Static SQL, how database will be accessed is In Dynamic SQL, how database will be
predetermined in the embedded SQL statement. accessed is determined at run time.
It is swifter and more efficient. It is less swift and efficient.
SQL statements are compiled at compile time. SQL statements are compiled at run time.
Parsing, Validation, Optimization and Parsing, Validation, Optimization and
Generation of application plan are done at Generation of application plan are done at run
compile time. time.
It is generally used for situations where data is It is generally used for situations where data is
distributed uniformly. distributed non uniformly.
EXECUTE IMMEDIATE, EXECUTE and EXECUTE IMMEDIATE, EXECUTE and
PREPARE statements are not used. PREPARE statements are used.
It is less flexible. It is more flexible.
(GeeksforGeeks ,n.d.)
Features and examples:
"Static SQL is the most traditional way of building embedded SQL applications. Static SQL
applications are designed for scenarios where the applications need to issue the same SQL
statements every time it interacts with the database. For example, an application which updates
the inventory stock, would always issue the same SQL statement to add new stock. Similarly, an
online reservation system would always update the same table and mark the same column as

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
23 oktober 2021
Aantal pagina's
2
Geschreven in
2019/2020
Type
Case uitwerking
Docent(en)
Na
Cijfer
A+

Onderwerpen

$10.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
Given17

Maak kennis met de verkoper

Seller avatar
Given17 University of the People
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
4 jaar
Aantal volgers
0
Documenten
5
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen