I'm connected to a MS SQLExpress 2012.
When I try to run a Query that contains a scalar variable, I get this message SQL Error (137).
Example query
declare @OrderNo varchar(20);
Set @OrderNo = '7124476';
select * from tblPaket
where OrderNr = @orderNo;
If I try to run it in for example SQL Magnament Studio so it OK.
Even if I run in my report, (Fast-Report), so it working.
Why could I not run this type of questions in HeidiSQL?
Please tell me what I'm doing wrong.
Otherwise I like this superb tool.
Rgs
Göran