Long time reader first time poster.
I am getting into SQL Server Analysis Services, but have been having great difficulty populating my newly created data mining structure.
I wish to work from my c# project which I am using as a central hub to control the learning. The data I wish to learn from is contained within a SQL Server database.
After creating an analysis services database in SSMS, I can create a mining structure -
CREATE MINING STRUCTURE [DON_TEST_000] ( [ID_NUM] LONG KEY, [TECK1] DOUBLE CONTINUOUS, [TECK2] DOUBLE CONTINUOUS ) WITH HOLDOUT(30 PERCENT)
And then append my model -
ALTER MINING STRUCTURE [DON_TEST_000] ADD MINING MODEL [DON_TEST_000_MODEL0] USING Microsoft_Clustering
Which seems to work okay. My problem is ->
1) I wish to do this from my c# project, using ADOMD.NET. I guess I can figure out how to create the SSAS database using this and execute the above queries.
But more critically,
2) I am unable to populate my mining structure with data at all - as the OPENQUERY (via INSERT) functionality requires a 'data source'. I have read on how to create this using Visual Studio, but I wish to do so programmatically from my c# project.
Surely there is a way for me to get Sql Server data into an Sql Server Analysis Services database using c#. It would seem to be so easy!
Thanks for any help, D