General information
Forum:
Microsoft SQL Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only