Section 1

Preview this deck

39)sentence best describes the difference between an inline table-valued UDF and a multistatement table-valued UDF?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (51)

Section 1

(50 cards)

39)sentence best describes the difference between an inline table-valued UDF and a multistatement table-valued UDF?

Front

a multistatement (.....) table variable.

Back

21) XML data type method do you use to shred XML data to tabular format?

Front

nodes()

Back

5) considered bad practices

Front

-- Using * -- Not assigning

Back

2) relationship between SQL and T-SQL

Front

SQL standard and T-SQL dialect in Microsoft

Back

38) turn off nested triggers on a SQL Server instance by using T-SQL?

Front

.... 0 followed by the RECONFIGURE statement

Back

26) result of the WITH CHECK OPTION in a view that has a WHERE clause in its SELECT statement?

Front

only one with (WHERE clause) at the end

Back

33)only possible when using the MERGE statement in regard to the OUTPUT clause?

Front

Referring to columns

Back

12) operator does the order of the input queries matter

Front

EXCEPT

Back

27) following are true about synonyms

Front

--do not store T-SQL code or data --can reference objects in other data bases

Back

18) returns a table with key phrases associated with the full-text indexed column?

Front

SEMANTICKEYPHRASETABLE

Back

15) What is the default frame window functions

Front

-- RANGE -- RANGE

Back

35) SET XACT_ABORT ON affect a transaction?

Front

>10 occurs will be aborted

Back

43) What levels can an index have?

Front

Intermediate level Root level Leaf level

Back

46) you fetch rows from a cursor, how do you know when there are no more rows to fetch?

Front

.... -1

Back

22) Which of the following are T-SQL regular identifiers?

Front

-- categoryname -- category_name

Back

9) OFFSET-FETCH

Front

OFFSET 25 rows ×2

Back

13) general set function

Front

... is not NULL.

Back

31) function do you use to return the last identity value generated in a specific table?

Front

IDENT_CURRENT

Back

50) following SET commands would prevent execution plan reusage?

Front

SET CONCAT_NULL_YIELDS_NULL OFF

Back

41)read a graphical execution plan?

Front

from right to left, from top to bottom

Back

29) modify a column value in a target row and collect the result of the modification in one visit to the row?

Front

UPDATE with a variable

Back

14) PIVOT operator determine what the grouping element is?

Front

determined by elimination

Back

48) Can you have indexes on table variables?

Front

yes indirectly by defining primary key and unique constraints

Back

16) ...Semantic Search feature?

Front

semanticsdb

Back

45) limit for the number of steps in statistic histograms?

Front

200 steps per histogram

Back

17) not a part of the CONTAINS predicate?

Front

TEMPORARY

Back

47)need to operate on one row at a time, what are the alternatives to using a cursor?

Front

using a top (1)

Back

32) clause of the MERGE statement isn't standard?

Front

the WHEN NOT MATCHED BY SOURCE clause

Back

19)directive of the FOR XML clause should you use to produce element-centric XML?

Front

ELEMENTS

Back

7) three-valued logic refer to

Front

..... unknown

Back

8) orderdate descending, and then by orderid, descending

Front

orderdate DESC, orderid DESC

Back

23) Which of the following columns would be appropriate as a surrogate key?

Front

-- An automatically -- A uniqueidentifier (GUID)

Back

28) the things that the SELECT INTO statement doesn't copy from the source?

Front

Indexes Constraints Triggers

Back

3) correctly represents the logical query

Front

FROM> ( TO ) >ORDER BY

Back

11) scalar subquery returns more than one value

Front

fails at run time

Back

6) CASE expression and searched CASE

Front

..... WHEN clauses

Back

30) the following is applicable to a TRUNCATE statement?

Front

The statement resets The statement is disallowed The statement is disallowed

Back

24) metadata tables give you a list of constraints in a database?

Front

sys.key_constraints sys.default_constraints sys.foreign_keys

Back

34) T-SQL statements automatically occur in the context of a transaction?

Front

alter table command update command

Back

4) ability to assign attribute aliases

Front

-- using -- an expression

Back

37)following T-SQL statements can be used to cause branching within a stored procedure?

Front

WHILE IF/ELSE

Back

44) does SQL Server sort the data, if a sort is needed?

Front

SQL server sorts

Back

25) the result of WITH SCHEMABINDING in a view

Front

....unless the view is first dropped.

Back

1) violation of relational model

Front

query have names

Back

36) following are true about the SET QUOTED_IDENTIFIER statement?

Front

ON... column names OFF... delimit strings

Back

20) node type test can be used to retrieve all nodes of an XML instance?

Front

node()

Back

10) standard join syntax without changing the meaning of the join

Front

--- inner --- outer

Back

49) aggregation algorithms does SQL Server use?

Front

Stream aggregation Hash aggregation

Back

42) find the text of the query executed by using DMOs?

Front

by querying the sys.dm_exec_sql_text

Back

40)not a part of an Extended Events package?

Front

sources

Back

Section 2

(1 card)

51) What is not a type of plan guide?

Front

JOIN

Back