|
-
February 7th, 2008, 02:10 AM
#1
Error
SQLSERVER2000
----------------------
Dear All,
I want to update to a table field. I use
Query= 'Select 'c' distinct S.Name'.
i want to enter a varchar value like that having 'c' inside but sqlserver give me an error.
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'c'.
update AllQueryFields set Query= 'Select 'c' distinct S.Name '
Where ObjectName ='0303' and FieldAlias='Status'
how i can enter that value
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|