use test
if (object_id('tbl_cursor') is null)
begin
 --select i_id,s_user,s_pass into tbl_cursor select i_id,s_user,s_pass  from test01--这是错误的
 select i_id,s_user,s_pass into tbl_cursor from test01
 select * into tbl_cursor from test01
 select * from tbl_cursor
 drop table tbl_cursor

 create table tbl_cursor(i_id int primary key,s_user varchar(20),s_pass varchar(20))
 insert into tbl_cursor(i_id,s_user,s_pass) select i_id,s_user,s_pass from test01
 select * from tbl_cursor
end

posted @ 2009-06-03 19:03 Talo 阅读(127) 评论(0) 编辑
游标 游标 游标 游标 游标
posted @ 2009-06-03 16:50 Talo 阅读(58) 评论(0) 编辑

在电脑加入域的情况下,使用ADOConnection控件配置数据源时,  在“选择或输入服务器名称”里只能识别“.”,而其他的IP地址以及机器名都不能解析(识别:找不到服务器地址),即在“在服务器上选择数据库”里找不到可选的数据库。

posted @ 2009-06-03 10:44 Talo 阅读(160) 评论(1) 编辑