question

Tamilselvan avatar image
0 Likes"
Tamilselvan asked Tamilselvan commented

SQL query using the Label

I am trying to query a GlobalTable1 using SQL, but the column name is present in token.col in the token, how to access the token.col value in the sql query

FlexSim 23.1.1
sql query
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Tamilselvan commented

Concatenate the label value and the query string.

  1. "SELECT [" + token.col + "] FROM tableName WHERE..."
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Tamilselvan avatar image
0 Likes"
Tamilselvan answered Felix Möhlmann commented

Can you please help me out with the example

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.