The expression
**Select num1 From datos.libros where num3 = @pp **
So this will give us a datatable with a single column
And to change the datatype of that column datatable.Columns(“yourcolumnname”).Datatype = GetType(system.String)
when defining a variable along thee query we dont need single quote buddy
the expression be like this
" SELECT num1 FROM data.books where num3 = @ pp "
and may i know would you like to see any specific value from that datatable
as a value to TRANS
then
the expression be like this Result.Rows(rowindex)(“yourcolumnname”).ToString
where row index starts from 0 for first row
or if you want to see the whole datatable as a string, then use OUTPUT DATATABLE activity next to this execute queryy and pass the input as Result and get the output with a varaible of type string named str_output
“SELECT num1 FROM datos.libros where num3=@pp”
I did what you told me to remove the single quotes, declare it as output data table and the following error appears
RemoteException wrapping System.Data.Odbc.OdbcException: ERROR [HY000] [Oracle][ODBC][Ora]ORA-00936: missing an expression