database_name can be a maximum of 128 characters, unless a logical name is not specified for the log file. If a logical log file name is not specified, SQL Server generates the logical_file_name and the os_file_name for the log by appending a suffix to database_name. This limits database_name to 123 characters so that the generated logical file name is no more than 128 characters.What is the value in the second column of the first row if you run this: select name, len(name) nameLength from master.dbo.sysdatabases order by 2 desc; [1]: http://msdn.microsoft.com/en-us/library/ms176061.aspx
No one has followed this question yet.