syntax errors table modifications

[expired user #9309]'s profile image [expired user #9309] posted 9 years ago in General Permalink
I keep getting syntax errors with the simplest things. MS SQL db

ALTER TABLE "dbo"."Members"
DROP PRIMARY KEY;
/* SQL Error (156): Incorrect syntax near the keyword 'PRIMARY'. */
[expired user #9075]'s profile image [expired user #9075] posted 9 years ago Permalink
Tried with ' instead of "?
ansgar's profile image ansgar posted 9 years ago Permalink
With the latest HeidiSQL version?

I recall I touched that piece of internal SQL code several times in the past, and I was cursing about the myriad of differences between MS SQL versions. Which server version is it on your end?

Please login to leave a reply, or register at first.