--- title: "MSSQLSERVER_12307 | Microsoft Docs" ms.custom: "" ms.date: "04/04/2017" ms.prod: sql ms.reviewer: "" ms.technology: supportability ms.topic: "language-reference" helpviewer_keywords: - "12307 (Database Engine error)" ms.assetid: 768cf6a8-e0f6-4668-9ab6-7c171a88fd86 author: MashaMSFT ms.author: mathoma --- # MSSQLSERVER_12307 [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] ## Details ||| |-|-| |Product Name|SQL Server| |Event ID|12307| |Event Source|MSSQLSERVER| |Component|SQLEngine| |Symbolic Name|HK_UNSUPPORTED_PARAM_DEFAULT| |Message Text|Default values for parameters in '*construct*' must be constants.| ## User Action Use constants for default-values' parameters. ## See Also [In-Memory OLTP (In-Memory Optimization)](~/relational-databases/in-memory-oltp/in-memory-oltp-in-memory-optimization.md)