【发布时间】:2012-03-28 23:46:53
【问题描述】:
我在 C# 控制台应用程序中使用 SQL 语句提取数据。例如:
SELECT NAME, DATE_OF_BIRTH FROM CUSTOMER_DETAIL
然后我将它保存到 xml。
xml 有两个元素。一个是 NAME,第二个是 DATE_OF_BIRTH。当我将它们加载回 MS-SQL Server 时,DATE_OF_BIRTH 列变为 varchar,但我想通过定义 xml 模式将其保留在 xml 中的 smalldatetype。
我使用 GetXml() 方法保存在 xml 中。
cor(mtcars$mpg, mtcars$cyl) #a function that gives an association between two vectors
outer(mtcars, mtcars, "cor") #the attempt to create a matrix of all vectors in a df
【问题讨论】: