I'm trying to use the standard TSQL DECLARE syntax but I get the following error:
[%msg: < IDENTIFIER expected, @ found^ DECLARE @>]
How do I declare a variable? For instance:
SELECT TOP @numrecords FROM mytable;
InterSystems Caché is a multi-model DBMS and application server. See more details here.