if exists(select * from ly where ly='information')
我想建的表名叫information 我的数据库名是ly
为什么报错说对象名ly 和 列名ly无效???
我想建的表名叫information 我的数据库名是ly
为什么报错说对象名ly 和 列名ly无效???
解决方案 »
- 求Contains的用法
- 有没有什么办法让查询真正执行时,查询到匹配的一条就直接返回结果集,而不是先全查出然后选1条.
- 请教一个树形结构表查询的问题
- 传递到substring 函数长度无效 急!
- 求助-SQL 2000数据库还原问题
- 请问: 如何实现远程数据库之间的数据同步与共享??
- 高手拣分了(菜鸟的提问)
- sql server 2005 连接问题
- cursor 里使用 GOTO 重复抓取 cursor循环里的数据
- char和varchar有什么区别?
- |zyciis| 服务器报错:SHUTDOWN is in progress Login failed for user 'bill'. Only admini
- 大家看看这个报错信息是什么意思?
AND type in (N'U'))
DROP TABLE tb
GO
use ly
goif exists(select name from sysobjects where name='information')
drop table information
gocreate table information
(a int)
use ly
goif object_id('information') is not null
drop table rp_gzbondsdetail
gocreate table information
(
a int(1,1),
b varchar(20),
c varchar(20)
)