Tsql – Grant user insert permission after create table command


What is the T-SQL syntax for granting a specific user only insert permission after a create table command?

Here is my CREATE TABLE script:

CREATE TABLE [dbo].[MyTable] (
    [MyColumn1] [uniqueidentifier] NOT NULL,
    [MyColumn2] [char] (1) NULL

Best Solution

GRANT INSERT ON [dbo].[MyTable] TO BillyBob

Or something vaguely similar...