Skip to content

Commit

Permalink
Sql ex fix per PR 428
Browse files Browse the repository at this point in the history
  • Loading branch information
nanimal-fb committed Dec 2, 2024
1 parent d3dba68 commit 8708a6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/Guides/managing-your-organization/managing-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Login to [Firebolt’s Workspace](https://go.firebolt.io/login). If you haven’
4. Use the syntax in the following example code to create a login in the SQL Script Editor:

```sql
CREATE LOGIN <login_name>
WITH FIRST_NAME = <first_name>,
CREATE LOGIN "<login_name>"
WITH FIRST_NAME = <first_name>
LAST_NAME = <last_name>;
```

Expand Down Expand Up @@ -151,7 +151,7 @@ CREATE USER <my_user>;

You can also create a user and link it to a login simultaneously as shown in the following code example:
```sql
CREATE USER <my_user> WITH LOGIN = <my_login>;
CREATE USER <my_user> WITH LOGIN = "<my_login>";
```

Create a user and link it to a service account at the same time as shown in the following code example:
Expand Down Expand Up @@ -181,7 +181,7 @@ If the user wasn’t associated with a login or service account when they were c
Use the syntax in the following example code and the [ALTER_USER]({% link sql_reference/commands/access-control/alter-user.md %}) statement to link a user to a login in the **SQL Script Editor** in the **Develop Space**:

```sql
ALTER USER <my_user> SET LOGIN = <login_name>;
ALTER USER <my_user> SET LOGIN = "<login_name>";
```

The following code links a user to a service account:
Expand Down
2 changes: 1 addition & 1 deletion docs/sql_reference/commands/access-control/create-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ CREATE LOGIN [ IF NOT EXISTS ] <login_name>
The following command will create an account in the US East (N. Virginia) region.

```sql
CREATE LOGIN "[email protected]" WITH FIRST_NAME = "Alex" LAST_NAME = "Summers";
CREATE LOGIN "[email protected]" WITH FIRST_NAME = 'Alex' LAST_NAME = 'Summers';
```
2 changes: 1 addition & 1 deletion docs/sql_reference/commands/access-control/create-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ CREATE USER [ IF NOT EXISTS ] <user_name>
The following code example creates a user named `alex`, links it to the login `[email protected]`, and assigns it the roles of `analyst` and `data_engineer`:

```sql
CREATE USER alex WITH LOGIN= "[email protected]", ROLE= (analyst, data_engineer);
CREATE USER alex WITH LOGIN= "[email protected]" ROLE= (analyst, data_engineer);
```

0 comments on commit 8708a6c

Please sign in to comment.