Reputation: 1881
I don't know if I am being stupid or what, but I just can't find any info on database name restrictions in MS Azure SQL. I mostly find answers about SQL Server, or database size, not the name size...
Is there a limit on Azure SQL database name length, and if there is, what is it?
Upvotes: 1
Views: 3626
Reputation: 51684
According to the SQL Server documentation the maximum length of identifiers (this includes database names) is 128 characters.
Has been the same since SQL Server 2005 (at least). SQL Azure is basically another SQL Server, therefore it probably won't be any different.
Upvotes: 3