|
MarjanMM
Starting Member
4 Posts |
Posted - 09/30/2012 : 01:10:22
|
Hello,
I have a table with 2 columns. In the first column has to be CMD1 to CMD120. These are the names of the commands. In the second column has to a query:
'SELECT Value FROM OPENQUERY (iHistorian,''SELECT * FROM ihRawData WHERE TagName LIKE *DEM_S01_N and SamplingMode=CurrentValue'');'
I have to fill (Insert) the table with CMD1-CMD120 and DEM_S01_N to DEM_S120_N. How to do this with the for loop?
Best regards |
|