2008年7月28日

常用的sql语句之行列转换

摘要: use pubs --加上判断,如果存在表则删除 add by liu if exists(select 1 from sysobjects where id=object_id('t') and type='u') //判断表的是否存在 drop table t --行转列 create table t ( Name varchar(10) ... 阅读全文

posted @ 2008-07-28 13:53 hackenliu 阅读(330) 评论(0) 推荐(0) 编辑

导航