I have SQl data cube. I want to export data to a relational data table from the cube. I tried to use SSIS data flow task to extract data. But there are several data conversion issues and some others(I used data conversion action but it doesnt solve my problem fully.)
Then I tried script task . I connect to the data cube and get the data .After that insert to the table. It took lot of time.
AdomdConnection conn = new AdomdConnection("Data Source=bci-bifsrv-01;Catalog=BInventoryAge");
SqlConnection sqlConn = new SqlConnection(@"Data Source=.;Initial Catalog=Couriers;Integrated Security=True");
conn.Open();
string commText = @"--query--";
AdomdCommand cmd = new AdomdCommand(commText, conn);
cmd.CommandTimeout = 5000;
AdomdDataReader dr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
What is the best way to extract data from data cube