I\'ve generated a script of a database in SQL Server 2008. The generated script has the hardcoded path of where the database would be created. I don\'t want this path to be hard
Simply create the database and then adjust all the needed properties directly in files
CREATE DATABASE [POS]
GO
ALTER DATABASE POS MODIFY FILE
( NAME = N'POS' , SIZE = 3048KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
GO
ALTER DATABASE POS MODIFY FILE
( NAME = N'POS_log' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO