Skip to content

Commit

Permalink
tables doc
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Jan 25, 2024
1 parent 7aafa1d commit 2cb3840
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/user-guide/tables-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ ATTACH DATABASE 'my.db' AS {{schema}}
%sqlcmd tables --schema {{schema}}
```

```{code-cell} ipython3
%%sql
DETACH DATABASE {{schema}}
```

## List columns

Use `%sqlcmd columns --table/-t` to get the columns for the given table.
Expand Down

0 comments on commit 2cb3840

Please sign in to comment.