Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how can I concatenate symbols with fields in select?
Like:
SQL SELECT
num_cont & '/' & year_cont as contract,
Like this:
Load *,
Field1 &'_'& Field2 as Key ;
SQL Select *
From DataBase:
Thanks
AJ
You can do this in Qlikview as a List box Expression
Something like this should do it (I'm guessing your fields are numbers by the way they're named):
SQL SELECT
cast(num_cont as varchar(50)) + '/' + cast(year_cont as varchar(50)) as contract,
Like this:
Load *,
Field1 &'_'& Field2 as Key ;
SQL Select *
From DataBase:
Thanks
AJ
not sure this can be done in Qlikview??
Do you have a sample of how this works Nicole
Thanks
Alan
I have a sample but it's not like you can connect to my database...
Yes indeed,
but can you share the script that shows this
What is the Syntax?
thx, this work.
SQL SELECT
cast(Field1 as varchar(50)) + '/' + cast(Field2 as varchar(50)) as Test
FROM Table;
does not work for me,
can you take a snapshot of your script, here is what I have and it does not work for me