sqlserver
delete from 表名
truncate table 表名
--获取所有用户表
select * from sysobjects where xtype = 'u'
--查看当前数据库中所有存储过程
select name from sysobjects where xtype='p'
--查看表的字段
select * from sysobjects where xtype = 'u'
select * from sysColumns c where c.id=object_id('表名')
--查看用户
select * From sysusers
=========================
delete from 表名
truncate table 表名
--获取所有用户表
select * from sysobjects where xtype = 'u'
--查看当前数据库中所有存储过程
select name from sysobjects where xtype='p'
--查看表的字段
select * from sysobjects where xtype = 'u'
select * from sysColumns c where c.id=object_id('表名')
--查看用户
select * From sysusers