一些有用的SQL Server语句和存储过程[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 applebbs 的 blog

t=""/>
 73on a.id=g.id and a.colid = g.smallid  
 74
 75order by a.id,a.colorder
 76
 77列出sql server 所有表、字段定义,类型,长度,一个值等信息
 78
 79并导出到excel 中
 80
 81-- ======================================================
 82
 83-- export all user tables definition and one sample value
 84
 85-- jan-13-2003,dr.zhang
 86
 87-- ======================================================
 88
 89在查询分析器里运行:
 90
 91set ansi_nulls off 
 92

本文关键:一些有用的SQL Server语句和存储过程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top