MSSQL – Create table if it doesn't exist Vis Dotnet 2 years ago more info with ready to copy and paste query https://howtodomssqlcsharpexcelaccess.blogspot.com/2020/06/sql-server-mssql-create-table-if-it.html