Ivan Pintar
Ivan Pintar

Reputation: 1881

Azure database name length

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

Answers (2)

shannon
shannon

Reputation: 8784

enter image description here

from the Create SQL Database portal interaction

Upvotes: 0

Dennis Traub
Dennis Traub

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

Related Questions