AnsweredAssumed Answered

Bad numeric constant

Question asked by Rashmi on Dec 22, 2015
Latest reply on Jan 8, 2016 by Rashmi
Branched to a new discussion

Hi,

 

I'm connecting to PI AF via a powershell script (connectionstring is defined).

my db query runs fine on PI SQL commander. the name of the column is 100speed. To ahndle this I had put"100speed" and column value is fetching correctly now. The same query I ahve placed inside the powershell script. Which executing teh script from the powershell cmd prompt, I see the error:"bad numeric constant:100  (Parser error). Any suggestion please?

 

Regards,Rashmi

Outcomes