Question : about grant

In Sybase server, a new user is added by command "sp_adduser". But this new user has no permission.It can't create or select. I write a command as "grant create table to.." logged by sa. But there is syntax error.
I don't know how to write it correctly? Can you say something about "grant"?
thanks

Answer : about grant

All you have to do is just:

grant create table to ahoor
go

where 'ahoor' is either a valid user or group or role in the database you execute it in. The example above is correct for permissions on tables and procs, so like

grant select on test_tabel to ahoor
go

Maybe you added quotes or something?

Arjan


Random Solutions  
 
programming4us programming4us