Hello experts,
I am getting this error
Msg 102, Level 15, State 1, Line 6192
Incorrect syntax near 'CREATE SEQUENCE'.
when I try this command:
GRANT CREATE SEQUENCE ON [sys].[sysrowsets] TO [MySQLLogin]
Does anyone know what the correct syntax is? Seems puzzling because I don't know how else to issue this command.
Thanks for any help.
-- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
Permissions are granted on schema, not individual tables: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-sequence-transact-sql?view=sql-server-2016
Requires CREATE SEQUENCE, ALTER, or CONTROL permission on the SCHEMA.
GRANT CREATE SEQUENCE ON SCHEMA::Test TO [AdventureWorks\Larry]
March 5, 2021 at 8:22 pm
Thanks!! I have marked your response as the answer.
-- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
March 8, 2021 at 6:00 am
This was removed by the editor as SPAM
June 1, 2021 at 7:17 am
This was removed by the editor as SPAM
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply