using sql answer the following i need to double check my answers
Question 1
Controls the flow of execution based on a condition
begin...end |
||
try...catch |
||
goto |
||
if...else |
10 points
Question 2
Changes the database context to the specified database.
set |
||
alter |
||
exec |
||
use |
10 points
Question 3
Exits the innermost WHILE loop.
goto |
||
quit |
||
return |
||
break |
10 points
Question 4
Controls the flow of execution when an error occurs
declare |
||
on error goto |
||
try...catch |
||
continue...error |
10 points
Question 5
Declares a local variable.
set |
||
declare |
||
let |
||
var |
10 points
Question 6
Statements that must be run in their own batch.(can have multiple answers)
create view |
||
create trigger |
||
create schema |
||
create function |
||
create table |
||
create procedure |
10 points
Question 7
To signal the end of a batch use the ____ command.
end |
||
quit |
||
stop |
||
go |
10 points
Question 8
If you create a database within a script, you have to execute the batch that contains the Create Database statement before you can execute other statements that refer to the database.
True
False
10 points
Question 9
If you need to store variables within a script, you can store them in:(choose all that apply)
global variables |
||
scalar variables |
||
temporary variables |
||
vector variables |
||
table variables |
10 points
Question 10
Use the ____ cmd to create a variable and the ____ cmd to assign it a value.
set, declare |
||
var, set |
||
declare, let |
||
declare, set |
10 points
Question 11
A scalar variable can contain multiple values at the same time.
True
False
10 points
Question 12
The name of a variable must always begin with
a letter |
||
var_ |
||
@ |
||
# |
Please Note: I have answered the first 4 questions as per the Chegg Answering Guidelines. Please re-post for the rest of the questions.
Answers)
Question 1
Answer)
if...else - Controls the flow of execution based on a
condition
if else is related to the conditions checking and control the flow
of the executing of the if statements or else statements based on
the condition.
Question 2
Answer)
use - is the statement which is used to change the database context
to the specified database.
Question 3
Answer)
break -. break statement causes the exit from the innermost while
loop.
Question 4
Answer)
try...catch - are the statements which control the flow of
execution when an error occurs.
using sql answer the following i need to double check my answers Question 1 Controls the...
Answer the following questions so I can double check my work Controls the flow of execution based on a condition begin...end try...catch goto if...else 10 points QUESTION 2 Changes the database context to the specified database. set alter exec use 10 points QUESTION 3 Exits the innermost WHILE loop. goto quit return break 10 points QUESTION 4 Controls the flow of execution when an error occurs declare on error goto try...catch continue...error 10 points QUESTION 5...
Answer the following and explain so I can double check my answers If you use the Management Studio to create a database, the Studio will automatically create a database file plus a ______________________ file. 10 points QUESTION 2 When you use the Management Studio to create a check constraint, you can specify whether you want the constraint enforced for insert or __________________ operations. 10 points QUESTION 3 When you use the Management Studio to create a database, including its tables...
answer the following so i can double check my answers. use sql knowledge Question 1 A table may have more than on clustered index. True False 10 points Question 2 All columns in a covering index must be from the same table. True False 10 points Question 3 Clustered indexes hold the data, not pointers to the data. True False 10 points Question 4 It is a good idea to index BLOB objects. True False 10 points Question 5 A...
Can someone please help me with a DECLARE, SET, PRINT in sql server. my issue is variable 3 does not add up to 99999.99? I am so frustrated CHAPTER 14 - USING VARIABLES IN SCRIPTS --- Use the AP database. Create 3 variables named anything you want. Set the first variable equal to 9876.22. Set the second variable equal to 187.69. Set the third variable equal to the sum of the first and second variables. Use a PRINT statement to...
Answer the following questions I want to double check my work Q1: (8086 processor) Translate the following code segment written in high level languages into assembly code. Assume Ax contains signed number. If AX >=2 then CX=CX+1 ; Else AX-CX; End Q2: Show how this statement M JK-1 could be translated into assembly code using 8086 instruction set a) b) MIPS instruction set Assume M. J and K are memory variables In s086 assume 16-bit, we can use MOv instruction...
I need some help with question 1??? Some of it is cut off because I lost the paper but can you please help me with what you can see for question 1 write your best answer on the providedpever veurbest vi When creating a procedure just write something 1. Imagine you are a manager of three consultants and vouwant to keep arunning total of their value to You need a form where you can add brownie points to their running...
I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 – Classes and Objects (20 Points) You will create 3 new classes for this project, two will be chosen from the list below and one will be an entirely new class you invent.Here is the list: Shirt Shoe Wine Book Song Bicycle VideoGame Plant Car FootBall Boat Computer WebSite Movie Beer Pants TVShow MotorCycle Design First Create three (3) UML diagrams...
Unit 1 Programming Assignment Follow the directions for each of the following questions. Answer the question or provide the code in a space below the question. 1. Write the complete script tag set for a script whose line statement is document.write(“Hello, world.”); 2. Build a complete HTML document and include the answer to the previous question such that the page executes the script as the page loads. Open the document in your browser to test the results. 3. Add a...
Here is the UML for the class Contact -fullName : string -phoneNum: string -emailAddress : string +Contact() //default constructor sets all attribute strings to “unknown”; no other constructor +setName(string name) : void +setPhone(string pn) : void +setEmail(string em) : void +getName() : string +getPhone() : string +getEmail() : string +printContact() : void //print out the name, phone numbers and email address Create New Project Name your project: CIS247_Lab7_YourLastName. For this exercise, you may use a header file or one file...
Question 1 The following function header represents which programming language? double calc_weekly_pay( double hours_worked, double pay_rate) Question 1 options: Python A C-based language FORTRAN COBOL Question 2 One of my favorite quotes from Jeanette Wind is "Computational thinking is using abstraction and decomposition when attacking a large complex task or designing a large complex system." This supports using _____________ when developing programs. Question 2 options: Repetition structures Assignment statements Selection structures Functions Question 3 The following assignment statement exhibits which...