webForumDet fria alternativet

DELETE

1 svar · 221 visningar · startad av fredrik99

fredrik99Medlem sedan maj 2000415 inlägg
#1

Får följande fel msg med nedanstående kod, vad är snett? (mySQL)

Microsoft OLE DB Provider for ODBC Drivers error '80040e14' 
You have an error in your SQL syntax. Check the manual that 
corresponds to your MySQL server version for the right syntax to use near '* FROM tblPage WHERE Page_ID = 440' at line 1
conn.execute("DELETE * FROM tblPage WHERE Page_ID = " & pID & ";")
LarsGMedlem sedan dec. 200012 465 inlägg
#2
conn.execute "DELETE FROM tblPage WHERE Page_ID = " & pID
Genererad på 393 ms · cache AV · v20260730165559-full.f96bc7eb