mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add a newline to better format the SQL
This commit is contained in:
@@ -4,7 +4,8 @@ In PostgreSQL, you can prepare a named statement to be executed later using
|
||||
[`prepare`](https://www.postgresql.org/docs/current/static/sql-prepare.html).
|
||||
|
||||
```sql
|
||||
> prepare column_names (text) as select column_name from information_schema.columns where table_name = $1;
|
||||
> prepare column_names (text) as
|
||||
select column_name from information_schema.columns where table_name = $1;
|
||||
PREPARE
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user