Salut,

Je commence depuis peu SQL Server et je n'arrive pas à créer une table pourtant j'ai regardé le FAQ du forum et rien ni fait j'ai un message d'erreur :

voici le code :
Code asp : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
sql ="CREATE TABLE STATISTIQUES "& _
	  "("& _
		"ID_STAT int IDENTITY (1, 1) NOT NULL, "& _
		"SATISFACTION int NOT NULL, "& _
		"LIVRAISON int NULL, "& _
		"CHOIX int NULL, "& _
		"CHOIX_AUTRE varchar(100) NULL "& _
	  ")  ON [PRIMARY] "& _
	  "GO"

et voici l'erreur :
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'GO'.

/creation_statistiques.asp, line 15
Merci d'avance.