--- title: "MSSQLSERVER_12305 | Microsoft Docs" ms.custom: "" ms.date: "04/04/2017" ms.prod: sql ms.reviewer: "" ms.technology: supportability ms.topic: "language-reference" helpviewer_keywords: - "12305 (Database Engine error)" ms.assetid: 5a65a9fb-6db1-40dd-b410-3199bb410261 author: MashaMSFT ms.author: mathoma --- # MSSQLSERVER_12305 [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] ## Details ||| |-|-| |Product Name|SQL Server| |Event ID|12305| |Event Source|MSSQLSERVER| |Component|SQLEngine| |Symbolic Name|HK_UNSUPPORTED_TABLE_VAR| |Message Text|Inline table variables are not supported with '*construct*'.| ## User Action Do not use inline table variables. ## See Also [In-Memory OLTP (In-Memory Optimization)](~/relational-databases/in-memory-oltp/in-memory-oltp-in-memory-optimization.md)