GoConqr has a new look! Let us know what you think.

Mind map

Sentencias SQL

kennet mujica Spanish

Sentencias SQL

Map content

Sentencias SQL

  1. Alter table

    • Agregar/Quitar Columna
      • ALTER TABLE nombretabla ADD nombrecolumna tipodedato;ALTER TABLE nombretabla DROP COLUMN nombrecolumna;
    • Agregar/Quitar Restricciones Unicas
      • ALTER TABLE nombretabla ADD CONSTRAINT mi_unica_restreccion UNIQUE(columna1, columna2...);ALTER TABLE nombretabla DROP CONSTRAINT mi_unica_restreccion;
    • Agregar/Quitar Llaves primarias
      • ALTER TABLE nombretabla ADD CONSTRAINT mi_llave_primaria PRIMARY KEY (columna1, columna2...);
    • Cambiar los tipos de datos
      • ALTER TABLE nombretabla ALTER COLUMN nombrecolumna TYPE tipodedato;
  2. Eliminar

    • Eliminar Base de datos
      • drop database nombrebasededatos;
    • Eliminar tabla
      • drop table nombrebasededatos;
  3. Crear

    • Crear Base de datos
      • create database nombre_db WITH OWNER nombre_usuario;
    • Crear tabla
      • create table nombretabla (nombreatributo tipodedato, …);
  4. Manejar Informacion

    • Respaldar Base de datos
      • pg_dump –U postgres –C –f C:\Backup\respbd.dump nombrebd
    • Restaurar Base de datos
      • psql –U postgres < C:\Backup\respbd.dump

Images and files in the map

  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL
  • Sentencias SQL

Information

Description
Mind Map on Sentencias SQL, created by kennet mujica on 06/03/2018.
Created by
kennet mujica
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?