摘要: 原文来自于:http://bbs.csdn.net/topics/330251394CAST 和 CONVERT将某种数据类型的表达式显式转换为另一种数据类型。CAST 和 CONVERT 提供相似的功能。语法使用 CAST:CAST ( expression AS data_type ) 使用 CONVERT:CONVERT (data_type[(length)], expression [, style])参数expression是任何有效的 Microsoft® SQL Server™ 表达式。有关更多信息,请参见表达式。 data_type目标系统所提供的数据类型,包括 b 阅读全文
posted @ 2013-09-17 10:48 兴想事成 阅读(218) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Windows.Forms; using System.Drawin 阅读全文
posted @ 2013-05-06 10:59 兴想事成 阅读(205) 评论(0) 推荐(0)
摘要: 1.导入Excel进数据库,以及导出Excel 本人使用的是 sqlserver2008R2,sqlserver 2005以上版本应该都支持 --系统管理员可以通过使用 sp_configure 启用 'Ad Hoc Distributed Queries'。有关启用 'Ad Hoc Distrib 阅读全文
posted @ 2013-04-26 01:54 兴想事成 阅读(582) 评论(2) 推荐(1)