Parameters Flashcards

1
Q

What are the different types of parameters

A

Account, Session, object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where can account params be set

A

Account level only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Who can set account level params

A

Users with the appropriate admin role

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command sets account level params

A

Alter Account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Most params are what

A

Session params

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does an account admin set session permissions at the account level

A

Alter Account SET ….

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does it mean to set session permissions at the account level

A

set default for individual users and their sessions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What level overrides session permissions at the account level

A

User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command sets session permissions at the user level

A

Alter User – done by admin with appropriate permissions, typically SECURITYADMIN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does it mean to set session permissions at the user level

A

sets default for any session started by the user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can users override their session permissions set at the user level

A

yes, by using Alter User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What level overrides permissions at the user level

A

Session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to set session permissions at the session level

A

Alter Session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does it mean to set session permission at the session level

A

sets session params with the user’s session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command sets object permissions on the account level

A

Alter Account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does it mean to set object permissions at the account level

A

Default to individual users and their sessions

17
Q

What level overrides the object permissions at the account level

A

User

18
Q

What are the objects at the object level

A

Warehouse, database, schema, Table/pipe, etc

19
Q

What is the hierarchy of objects at the object level

A

Table/pipe > Schema > Database

20
Q

What are the commands to override params for an individual object

A

Create “object-name”
Alter “object-name”

21
Q

What does the SHOW PARAMETERS command do

A

displays a list of parameters, along with the current and default values

22
Q

What type of parameters are shown by SHOW PARAMETERS by default

A

Session only

23
Q

What is the command to show parameters for a specific object

A

show parameters in database “database-name”
show parameters in warehouse “warehouse-name”

24
Q

What command shows all parameters including account and object parameters

A

show parameters in account

25
Q

How do you filter parameters by name

A

show parameters like ‘%time%’
show parameters like ‘%time%’ in account