摘要:
SQL语句:select sum (datediff(second,Begin_Time,End_Time)) as 总时长 from 数据表这是我开始的程序:int 总时长=0;总时长=Convert.ToInt32(tbl.Rows[i]["总时长"]);提示错误:对象不能从 DBNull 转换... 阅读全文
摘要:
如果新表不存在select * into newtable from oldtable 如果存在insert into newtable select * from oldtable ---表结构一致insert into newtable(列名1,列名2,.....) select 列名1,列... 阅读全文