The size of a SQL Server database is determined by the cumulative size of all .MDF files. However, this is not the only limit on SQL Server databases. For a complete list, refer to What is the difference between the different SQL Server versions and editions? to determine which SQL Server version is appropriate for your database(s).

Also refer to: