SQL Server 2000:
declare @LoginName varchar(20)
set @LoginName = 'aUser'
grant select on aTable to @LoginName
В чём ошибка подскажите
А вообще, как коротко записать
grant select on aTable1 to aUser
grant select on aTable2 to aUser
grant select on aTable3 to aUser
...
grant select on aTableN to aUser
имея список таблиц в файле?
Спасибо.