Maybe you are not in the correct DB
use isql -D database
or in your script
use database
go
Maybe the owner is not dbo and isql login as a different user
[exec[ute]] [@return_status = ]
[[[server .]database.]owner.]procedure_name[ ;number]
[[@parameter_name =] value |
[@parameter_name =] @variable [output]
[, [@parameter_name =] value |
[@parameter_name =] @variable [output]...]]
[with recompile]
What is the result from isql when you execute
select user_name(uid) 'user', name
from sysobjects
where name='test'
and type='P'