简体   繁体   中英

How to specify a column name and data item in Blueprism?

I'm using Blueprism to work with SQL queries and in my query, the column name is referenced like this [columnName] which is the right way and data items are referenced this way [dataItem] .

For example, "SELECT * FROM table WHERE [columnName] = [dataItem] "

The problem with the above is that the BluePrism reads both as columns and outputs an error saying dataItem is not a column name. How do I reference a data item in a query? Blueprism uses C#/VB Script.

I figured out what the problem was. I had to append the sql query and the variable.

"SELECT * FROM [Customer Details] WHERE [Name] ='" & [Test] & "' "

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM