Fungsi utama dari function dalam SQL adalah...
Quiz tentang Function dan Stored Procedure

Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Iman Rohman
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Menjalankan banyak query sekaligus
Mengembalikan satu nilai hasil perhitungan
Mengubah struktur tabel
Menyimpan data secara permanen
Menjalankan trigger secara otomatis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah SQL yang digunakan untuk membuat function adalah...
CREATE PROCEDURE
CREATE FUNCTION
NEW FUNCTION
DEFINE FUNCTION
DECLARE FUNCTION
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut ini yang merupakan ciri dari stored procedure adalah...
Hanya mengembalikan satu nilai
Tidak dapat memanipulasi data
Bisa memiliki parameter IN, OUT, INOUT
Hanya dapat digunakan dalam SELECT
Selalu digunakan di dalam trigger
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perbedaan utama antara function dan stored procedure?
Function dapat menyimpan data, stored procedure tidak
Function bisa memiliki OUT parameter, stored procedure tidak
Stored procedure tidak bisa dipanggil
Function hanya digunakan untuk insert data
Function mengembalikan nilai, stored procedure bisa tidak
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Parameter IN dalam stored procedure berarti...
Nilai akan diambil dari hasil query
Nilai dikembalikan ke pemanggil
Nilai digunakan sebagai input ke prosedur
Nilai tidak dapat digunakan
Nilai disimpan secara permanen
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Contoh penggunaan function dalam query SQL yang benar adalah...
CALL hitung_pajak(1000000)
EXEC hitung_pajak(1000000)
SELECT hitung_pajak(1000000);
INSERT hitung_pajak(1000000);
USE hitung_pajak(1000000);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Stored procedure cocok digunakan untuk...
Menyimpan data hasil JOIN
Menampilkan seluruh isi tabel
Menjalankan proses otomatisasi seperti insert/update
Menghapus tabel permanen
Menghitung jumlah kolom
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Sumatif 2-TIK Kelas 8

Quiz
•
8th Grade - University
10 questions
Database Practice Test 1 Part 2 Review

Quiz
•
11th Grade
13 questions
Database Practice Test 1 Review

Quiz
•
11th Grade
10 questions
QUIZ FUNCTION dan PROSEDUR

Quiz
•
11th Grade
8 questions
Intro to JS: Functions, Scope & Objects

Quiz
•
11th Grade - University
15 questions
Arduino Car: Physics and Chemistry Quiz

Quiz
•
11th Grade
10 questions
Understanding Data and Encoding

Quiz
•
6th Grade - University
12 questions
Algoritma dan Pemrograman

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University