¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

MS SQL

Magdoulin Shams El-Din Programming Inglés 9 fichas

Fichas del conjunto (9)

  1. 1Get a list of all databasesSELECT *
    FROM master.dbo.sysdatabases
  2. 2Get a list of all tablesSELECT
    *
    FROM
    SYSOBJECTS
    WHERE
    xtype = 'U'
  3. 3Get a list of all tables (alternative way)SELECT
    *
    FROM
    INFORMATION_SCHEMA.TABLES
  4. 4Get a list a description of a particular table all columnsEXEC sp_columns [table name]
  5. 5Show the current used database nameSELECT db_name()
  6. 6Access databaseUSE [database name]
  7. 7Get the top 100 rows of a particular tableSELECT TOP (100) [columns names list]
    FROM [table name]
  8. 8Enforce case sensitive selectSELECT [first_name]
    FROM [table name]
    WHERE BINARY [first_name] = 'First Person'
  9. 9Assign ALIAS to a column original nameSELECT [first_name] AS 'Name'
    FROM [table name]

Información

Descripción
Programming Fichas sobre MS SQL, creado por Magdoulin Shams El-Din el 21/09/2022.
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?