Re: [Virtuoso-users] Implicit type overrides explicit type on assignment

2012-11-12 Thread Hugh Williams
Hi Quentin, The error is saying you are trying to concat and integer when a strings is expected, thus the integer should be cast as varchar for it to work: create procedure DB.q.testBug() returns varchar { declare str varchar; declare intIn int; intIn := cast (4 as varchar); str

[Virtuoso-users] Implicit type overrides explicit type on assignment

2012-11-12 Thread Quentin
Is this a bug? It doesn't seem desirable behaviour. = create procedure DB.q.testBug() returns varchar { declare str varchar; declare intIn int; intIn := 4; str := intIn; return concat('test:',str,'.'); } = In isql: ===