SQLite Forum

(Deleted)
Login

(1.2) By stonebig on 2021-08-01 10:47:58 edited from 1.1 [link]

Deleted

(2) By Stephan Beal (stephan) on 2021-08-01 10:46:24 in reply to 1.1

> Wouldn't it be nice and simple to have a '.attach' feature in the CLI ?

We do, it's just missing the dot prefix:

```
sqlite> attach database 'foo.db' as 'blah';
```

More succinctly:

```
sqlite> attach 'foo.db' as 'blah';
```

That's only 1 letter longer than your proposal: it removes the "." and adds an "as".

(3) By stonebig on 2021-08-01 10:49:11 in reply to 2 [link]

yes, sorry. I had totally forgot it was in existing SQL instructions set