SQLite 3 en CMD Windows Flashcards

1
Q

Ejecutar SQLite

A

sqlite3

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

Cerrar SQLite

A

.quit
o
.exit

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

Abrir o crear una base de datos x SQLite

A

sqlite x

x es el nombre de archivo de la base de datos

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

Ver ayuda SQLite

A

.help

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

Activar vision de encabezados de base de datos

A

.headers on

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

Hacer una copia de seguridad x de base de datos actual

A

.backup x

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

Restaurar base de datos actual con la copia de seguridad x

A

.restore x

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

Imprimir nombre de todas las tablas de una base de datos

A

.tables

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

Imprimir estructura con todas las tablas de una base de datos

A

.schema

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

Imprimir estructura con todos los campos de todas las tablas de una base de datos

A

.dump

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

Seleccionar una ruta x

A

cd x

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

Ver contenido de una ruta seleccionada en linea de comandos

A

dir

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

Ejecutar archivo x.sql

A

@rutadelarchivo/x.sql

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