---
title: "SQL SERVER查询表结构"
author: "prodigy2008"
date: "2009-09-03T09:49:17Z"
tags: []
slug: "sql-server"
draft: false
lastmod: "2009-09-03T10:58:42Z"
id: 461218
url: "https://prodigy2008.iteye.com/blog/461218"
---

1.调用系统过程sp_help
SQL：sp_help 表名

2.select column_name,data_type from information_schema.columns
where table_name = '表名'