Skip to content

Welcome to ka8zrt.com

Sections
Personal tools
You are here: Home » How to ... » MSSQL
Log in
 
Views
Wiki Main Page >> Programming >>

MSSQL

Document Actions
last edited 1 year ago by cinnion

Get the list of databases with:

SELECT * FROM SYS.DATABASES

Get the list of tables from the current database:

SELECT * FROM sys.Tables

Get the schema of a table (``customer'' in this example)

sp_help customer

« May 2012 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
 
 

Save the Net

The threat is real!

Powered by Plone

This site conforms to the following standards: