How can I pass parameters to an "SQL Script" from isql
Looking at your use case, it looks as if you want a stored procedure, so here's one I wrote for you:

CREATE PROC the_script
(
   @param1 int = null,
   @param2 int = null
)
AS
BEGIN
   select
      col_1,
      col_2,
      etc
   from
      table
   where
      cond1 &gt; @param1 and
      cond2 &lt; @param2
END


Now, being in isql, you can run it:

exec the_script 900, 20


Regards.