Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Creating Login
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Error Creating Login
Miscellaneous
Thread ID:
01371874
Message ID:
01371874
Views:
60
Our server name is 'NC-Coleman', so when I went to the server and created a new login for me, I was able to type into the name field 'NC-Coleman\KevinM', and it worked fine.

When I try this, I get "Invalid syntax near '-'"
CREATE LOGIN NC-Coleman\KevinM PASSWORD = 'mypw'
I have also tried:
CREATE LOGIN 'NC-Coleman\KevinM' PASSWORD = 'mypw'
with the same result.

Can someone set me straight?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform