Preview

gadget addiction

Powerful Essays
Open Document
Open Document
1175 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
gadget addiction
Database programming
Database application
= { a particular database, a collection of programs to access the database}
Bank database application, Railway database application, university database application, …
• A database programming language is a programming language developed specifically for writing database application. • Writing program to access a particular database is called database programming.

1

Database programming
Approaches to database programming
i) Embedding database commands in a general-purpose programming language e.g. C/C++/C#/Java/COBOL and the likes.
Scripting languages like PHP, JavaScript for accessing database in Web application. ii) Using a library of database functions e.g. JDBC interface iii) Designing a brand new database programming language
– a language specifically designed and developed for accessing a database.

2

PL/SQL
Programming Language/SQL
• PL/SQL = SQL + Programming Language constructs
• Oracle′s PL/SQL
• PL/SQL is a Database Programming Language
• SQL standard for Database programming language is called SQL/PSM (Persistent Stored Module)
Programming language constructs





Sequence (a number of SQL statements meant to execute sequentially)
Selection (branching e.g. if then else, case)
Iteration (looping)
3

if, else if condition then statement list end if; if condition then statement list else statement list end if;

4

Nested if if condition then statement list if condition then statement list else statement list end if; else statement list end if;

5

else-if ladder if condition then statement list elsif condition then statement list elsif condition then statement list else statement list end if;

6

case statement case when condition then statement list when condition then statement list else raise case_not_found; end case;

--optional

7

goto statement

… goto there;

goto outer;

8

Loop

You May Also Find These Documents Helpful

  • Good Essays

    The SELECT statement is the primary means of extracting data from database tables, and allows you to determine exactly which data you want to extract by means of different comparison operators used in the WHERE clause. This includes the use of specific "wild card" characters which allow you to search for character or number patterns within the data. You can also perform mathematical expressions within the SELECT statement to create derived output. The ORDER BY clause allows you to sort the output data in either ascending (the default) or descending order. Lab #5 will explore all of these applications of the SELECT statement.…

    • 1559 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    4. What is SQL language? The programming language used to manipulate data and data objects in a relational database.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1

    • 4209 Words
    • 17 Pages

    It parses and also executes the statement Displays the execution plan for the select statement automatically…

    • 4209 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 6 True

    • 287 Words
    • 1 Page

    SQL is the programming language used to manipulate data and data objects in a relational database management system. TRUE…

    • 287 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    unit 6

    • 360 Words
    • 2 Pages

    1) SQL is the programming language used to manipulate data and data objects in a relational database management system.…

    • 360 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In Zoe Kleinman’s article “Are We Addicted To Technology?” she loosely argues… that people are addicted to technology or it’s just more pseudo science. Kleinman used sarcasm to introduce that sleepiness is a byproduct of very busy lives and not necessarily from being on the phones and etc. When Kleinman cites sleep and energy expert Ramlakan who helps “[her patients] go to bed but can’t sleep or fall asleep exhausted and wake up tired”. When Kleinman interview with Ramlakhan, she says that “tiredness is a by-product of a busy modern life.” When some of Ramlakhan patients had burnouts,ceshers,and getting fired from their jobs. Kleinman was very poor on her arguments about technology. “I suggest that perhaps they want to multi-task.” So Kleinman…

    • 184 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    (AGG) Nothing good comes from technology in the book Fahrenheit 451. (BS-1) Montag's society has an addiction to technology. (BS-2) Citizens are suffering the consequences of being addicted to it. (BS-3) People who don’t use technology all the time are better off than people who are constantly on it. (TS) The constant use of technology has a negative effect on Montag's society.…

    • 1268 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    People’s Home Gadgets

    • 362 Words
    • 2 Pages

    1. Provide advice to Paula regarding the nature of the HR system she should recommend for the customer service representatives at the six stores.…

    • 362 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Distracted by Technology

    • 1126 Words
    • 5 Pages

    We are part of a country that is focused on making life easier and faster. Technology is something that is constantly on the rise, we are always looking for that new gadget better than the last that is meant to facilitate the everyday life. As a result, many people are starting to lose the ability to show emotions or even carry on a face-to-face conversation, therefore making it difficult for those individuals to develop appropriate social skills. Unfortunately, we fail to see the damage that is being caused by the amount of time being spent on texting, playing with video games, or spending countless hours on social networks as an alternative to making new acquaintances or spending quality time with their loved ones.…

    • 1126 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Fetishism With Technology

    • 983 Words
    • 4 Pages

    Warning!! The intelligence of the youth is dangerously approaching extension. In this fast paced world today, technology has provided great advancements in the quest to make the life of mankind better. However, when technology is placed in the wrong hands, devastating consequences will abound. Society unwitting to the Stygian aspect of technology willingly exposed the youth to electronic devices. Society is currently faced with the ramifications brought forth through our youths? lack of personal interaction, lack of respect, insufficient educational skills and the numerous behavioral/health disorders. Technology has produced a negative impact on the developing child, and created a great rift in the humanities core necessity of…

    • 983 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Chewing Gum Questionnaire

    • 1082 Words
    • 5 Pages

    QS 3. Would you please tell me in which of the following age range are you? SHOW CARD. READ OUT…

    • 1082 Words
    • 5 Pages
    Good Essays
  • Good Essays

    At the end of this tutorial you will learn the basic of database programming. I would like, however, to emphasize especially for beginners that one way to learn programming is to know how to debug a program and devote some of your time to reading. Don't be frightened on how short or long an article should be. The important is at the end of the tutorial you will learn something NEW! If you already know the topic, then don’t bother to study this again.…

    • 1775 Words
    • 8 Pages
    Good Essays
  • Good Essays

    CONDITIONAL SENTENCES

    • 1446 Words
    • 11 Pages

    CONDITIONAL SENTENCES (‘if’ sentences) A.G.N.Sudath (JP) Bachelor of Education, National Diploma in Teaching English Former National Trainer at the PIC at the Ministry of Education Visiting Lecturer of English – University of Sabaragamuwa Conditional Sentences Structure :…

    • 1446 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    A database is a structured collection of records or data that is stored in a computer system. In order for a database to be truly functional, it must not only store large amounts of records well, but be accessed easily. In addition, new information and changes should also be fairly easy to input. In order to have a highly efficient database system, a program that manages the queries and information stored on the system must be incorporated. This is usually referred to as DBMS or a Database Management System. Besides these features, all databases that are created should be built with high data integrity and the ability to recover data if hardware fails.…

    • 4139 Words
    • 13 Pages
    Powerful Essays
  • Better Essays

    Mobile Phone Addiction

    • 1213 Words
    • 5 Pages

    Nomophobia, the fear of being out of mobile phone contact. The phrase was coined by a U.K. study commissioned by SecurEnvoy as an abbreviation for no-mobile-phone phobia. According to an article, 77% of the 18-24 age group revealed nomophobia. If a person doesn’t have his or her cell phone, and feels uncomfortable trying to respond to real life situations without it, experts warn this is addiction.…

    • 1213 Words
    • 5 Pages
    Better Essays

Related Topics