GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

MS SQL

Magdoulin Shams El-Din Programming Englisch 9 Karten

Karten in diesem Stapel (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]

Informationen

Beschreibung
Programming Karteikarten am MS SQL, erstellt von Magdoulin Shams El-Din am 21/09/2022.
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck