Good day,
I am very new to web design and C#.
I want to create a parameter with some code to create a table. I assume it will be with C#.
I need the code in a parameter as the database will use execute the code where and when needed to create the table.
I know how to create the parameter, but I am stuck with the C# code. Could anybody assist with the code or direct me where I can see some examples? I would prefer using SQL to create the table, For example|:
SQL = "Create Table Tbl_TempTable (ID INT, Name (CHAR(50), email CHAR(50))
OR
SQL = "Create Table IF NOT EXISTS Tbl_TempTable (ID INT, Name (CHAR(50), email CHAR(50))
Thanks
Deon