0 [quote]Sir i what way we use these ..........code[/quote]
Sorry, but can't you do any research yourself?
http://www.mssqltips.com/sqlservertip/1138/giving-and-removing-permissions-in-sql-server/
http://www.mysqltutorial.org/mysql-grant.aspx
And I'm sure there are hundreds of other sites on the web that can help you on the way.
0 Sir i what way we use these ..........code