Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Select all tables from database
USE [YourDBName]
SELECT * FROM sys.Tables
SELECT * FROM sysobjects WHERE xtype='u'
-- https://ignas.me/tech/select-all-tables-database/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment