SQLString="select * from dbo.#inout_in";
SqlDataAdapter command = new SqlDataAdapter(SQLString, connection);
command.Fill(ds, "ds");
为什么会出错呢?
SqlDataAdapter command = new SqlDataAdapter(SQLString, connection);
command.Fill(ds, "ds");
为什么会出错呢?
{System.Data.SqlClient.SqlException: 对象名 '#inout_in' 无效。
这个sql语句在查询分析器里还是能查询的到我应该改?
必须用事物吗?
用户临时表的周期只存在于创建这个表的用户的Session,对其他进程是不可见。 当创建它的进程消失时此临时表自动删除。