Displaying 1 result from an estimated 1 matches for "odbcsqlquery".
2008 Oct 23
0
RODBC and RDCOM
...new STATCONNECTORSRVLib.StatConnectorClass();
curve.Init("R");
curve.EvaluateNoReturn("library(RODBC)");
curve.EvaluateNoReturn("conn = odbcConnect("+@"""" + "SQL Server" +@""""
+")");
curve.EvaluateNoReturn(odbcSqlQuery);//Select Formula from
OGA_DEV.dbo.Equation where EquationId = 3
curve.EvaluateNoReturn("results = sqlGetResults(conn)");
curve.EvaluateNoReturn("close(conn)");
curve.EvaluateNoReturn("formulaLevel =
levels(results$Formula)");//Exception throwed here
curve.Evaluate(&qu...