摘要:
2010年3月25日星期四
http://topic.csdn.net/u/20070831/16/0e7a7b5b-c64a-465b-9189-733714e85277.html
在Microsoft Sql Server2005查询表的字段
在Microsoft Sql Server2005查询表的字段名称、字段类型、字段类型的长度等基本信息
SELECT
表名 = case when a.colorder=1 then d.name else '' end,
表说明 = case when a.colorder=1 then isnull(f.value,'') else '' end,
字段序号 = a.colorder,
字段名 = a.name,
标识 = case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end,
主键 = case when exists(SELECT 阅读全文
posted @ 2010-03-31 10:58
叮当小马
阅读(572)
评论(0)
推荐(0)
摘要:
2010年3月25日星期四
http://topic.csdn.net/t/20050401/14/3900896.html
在Microsoft Sql Server2000查询表的字段
获得数据库中一个表的所有的字段信息
在Microsoft Sql Server2000查询表的字段名称、字段类型、字段类型的长度等基本信息
SELECT
(case when a.colorder=1 then d.name else '' end) N'表名',
a.colorder N'字段序号',
a.name N'字段名',
(case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end) N'标识',
(case when (SELECT count(*)
FROM sysobjects
WHERE (name in
(SELECT name
FROM sysindexes
WHERE (id = 阅读全文
posted @ 2010-03-31 10:50
叮当小马
阅读(516)
评论(0)
推荐(0)
摘要:
2010年3月22日星期一
Sql server 2005 express 没有导入导出功能
Express版是没有导入导出工具的
其实也无怪,自己装的数据库,没有导入导出功能。其实装的也的也正常,没有什么异常或是什么错误呀。后来别人说遇到了这样子的问题,怎么解决呢。还是怎么解释呢。
呵。呵。只能自己给自己一个解释了。后来上网上查了下,遇到这个问题的网友还真不少。
express版本没有导入导出功能,也不会影响正常使用。
SQLServer 2000个人版本中就有这个功能。是相互的,有导入功能,导出功能。我想即使express版本中没有这个功能。也不会影响正常使用的。
无耐,我的机器里面既装上了SQLServer 2000 personal 版本,也装上了SQLServer 2005 express版本
阅读全文
posted @ 2010-03-31 10:43
叮当小马
阅读(4060)
评论(0)
推荐(0)