Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid column name
Message
From
05/10/2005 10:17:22
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
 
To
05/10/2005 10:01:17
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01056253
Message ID:
01056266
Views:
41
This message has been marked as the solution to the initial question of the thread.
Try single quotes:

DELETE FROM [dbo].[tblVendorMessage] WHERE VEN_VENDOR_NAME = 'A&EMAN1'

Jon


>Using Data Explorer, I entered the following command against a MS Sql Server table
>
>DELETE FROM [dbo].[tblVendorMessage] WHERE VEN_VENDOR_NAME = "A&EMAN1"
>

>and got the error message "Invalid column name 'A&EMAN1'.
>
>I searched in BOL and found "A change to the table required the table to be recreated. When a table is recreated, the triggers attached to that table are automatically recreated as well." but I'm not sure why deleting a row would require recreating the table.
>
>Can someone tell me what this means and what I need to do?
>
>TIA,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform