create login

  • When I execute the following T-SQL DDL statement:

    create login ravid with password = 'ravid' DEFAULT_DATABASE = plu

    I get this syntax error:

    Msg 102, Level 15, State 1, Line 1

    Incorrect syntax near 'DEFAULT_DATABASE'.

    Please tell me what is the syntax error in the statement.

  • Try this.

    create login ravid with password = 'ravid', DEFAULT_DATABASE = plu

  • Thank you worked.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply