摘要:
$strConn="Data Source=.;Initial Catalog=AdventureWorksDW2008R2;Integrated Security=True;"$conn=New-Object System.Data.SqlClient.SqlConnection$conn.ConnectionString=$strConn$conn.Open()$comm=$conn.CreateCommand()$comm.CommandText="SELECT TOP 1000 [FullDateAlternateKey],[WeekNumberOfYea 阅读全文