BEGIN TRANSACTION SET QUOTED_IDENTIFIER ON GO SET TRANSACTION ISOLATION LEVEL SERIALIZABLE GO COMMIT BEGIN TRANSACTION CREATE TABLE dbo.TABLE1 ( col1 int NOT NULL IDENTITY (1, 1), col2 char(10) NULL ) ON [PRIMARY] GO COMMIT
You see... I can creat the TABEL with the name rs(\"opretID\") but there is something wrong in the way I try to Name the cols and claim there \"identity\"...
I can\'t read it out of your answer could you give it one more try.
I CAN create a table using this SQL statement. I have replaced Session(\"opretID\") with a table named Session. So all I can suggest is that you some how look at what is in strSQL just before you execute your ASP. You can also try this:
strSQL=\"CREATE TABLE Session ( ID int NOT NULL IDENTITY (1, 1), budget varchar(50) NULL, SagNR varchar(50) NULL, Notat varchar(2000) NULL )\"
The SQL statament from 20:16.12 was created by SQL Server so there is nothing wrong with this syntax! he only thing I can see is a benny.t mentiones and that is if your table name contains invalid characters. If the SQL I gave 21:44.12 works then YOU have a synax problem which you need to sort out.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.