Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By alisoroush7
#829903
hi guys
i have a table in sql which is like this:

product code weight
1235896 0.5
3256kms 1.5
dk-kmsw 3

and the data type for [product code] is nvarchar
now i want to call the weight by putting the product code in processmaker
the code that i wrote is this:

select [weight] from table where [product code] = @#textVar047

and by this code i get nothing, i have changed the @# to @@, @= but it did not work.

and the [product code] data type is NVARCHAR
how can i do this?

any comment is appreciated.
User avatar
By ronrich
#829908
Hi alisoroush7,

Pleas try this way

select [weight] from table where [product code] = '@#textVar047'

note that I've added the single quotes

Best,
By alisoroush7
#829909
ronrich wrote: Mon May 09, 2022 2:33 pm Hi alisoroush7,

Pleas try this way

select [weight] from table where [product code] = '@#textVar047'

note that I've added the single quotes

Best,
thanks you very much. it worked

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]

A Bet365 Clone Script is essentially a ready-made […]