Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tMSSqlRow - How to use schema variables in query

Hi, 

 

I have tMSSqlRow component with 2 variables in schema, named UPC and ITEM_NO.

 

The tMSSqlRow  is holding the output of tMap as follows :

 

0683p000009LvcS.png

 

How can I use the schema variables in Query ? i.e. in place of schema.ITEM_NO and schema.UPC ?

 

Thank you !

 

Labels (2)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

You must use prepared statements - check on Advanced properties of tMSSQLRow

 

 

change parameters to ?

 

 0683p000009Lvcl.png

 

and assign properties on Advanced Tab

0683p000009LvQ8.png

 

in You case it will be

... SET ERP_WEST = ? WHERE UPC = ? ...

and parameters
index 1 - updae1.ITEM_NO
index 2 - updae1.UPC 

updae1 - same as on picture, think it update1

View solution in original post

1 Reply
vapukov
Master II
Master II

You must use prepared statements - check on Advanced properties of tMSSQLRow

 

 

change parameters to ?

 

 0683p000009Lvcl.png

 

and assign properties on Advanced Tab

0683p000009LvQ8.png

 

in You case it will be

... SET ERP_WEST = ? WHERE UPC = ? ...

and parameters
index 1 - updae1.ITEM_NO
index 2 - updae1.UPC 

updae1 - same as on picture, think it update1