Nesting SqlDatabase under a Component element will result in a SqlDatabase being installed to the machine as the package is installed. Nesting SqlDatabase under Package, Fragment, or Module results in a database "locator" record being created in the SqlDatabase table. This means that the database itself is neither installed nor uninstalled by the MSI package. It does make the database available for referencing from a SqlString or SqlScript record. This allows MSI to install SqlScripts or SqlStrings to already existing databases on the machine. The install will fail if the database does not exist in these cases. The User attribute references credentials specified in a User element. If a user is not specified then Windows Authentication will be used by default using the credentials of the user performing the install to execute sql strings, etc. SQL Database Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Unique identifier in your installation package for this database. If an Id is not provided, one will generated for you. Database server name. Optional database server instance. The name of the database. The value can be a literal value or derived from a Property element using the [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) syntax. Optional user used to connect to database. Create the database during installation. Specifies whether to create the database when the associated component is reinstalled. Setting CreateOnInstall to yes does not imply CreateOnReinstall is set to yes. CreateOnReinstall must be set in addition to CreateOnInstall for it to be created during both install and reinstall. Create the database during uninstallation. Drop the database during installation. Specifies whether to drop the database when the associated component is reinstalled. Setting DropOnInstall to yes does not imply DropOnReinstall is set to yes. DropOnReinstall must be set in addition to DropOnInstall for it to be dropped during both install and reinstall. Drop the database during uninstallation. Continue even if the database operation fails. Prompt the user to overwrite the database. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema.