Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RE : Ms-Sql2000....field check
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00661884
Message ID:
00661943
Views:
18
Sarp,

The standard string delimiter in Sql Server is a single quote. The double quote can or cannot be used based on the SET QUOTED_IDENTIFIER setting. See BOL for details. I would recomend always use a single quote. You've to double it in the string as shown below.
EXECUTE ('update mal set ' + @xdepo + ' = ' + @xmiktar + 
  ' where malno = ''' + @xmalno + '''')
To get faster and better answers:
- Give your posts proper title. I don't see what your message has to do with 'field check'.
- The 'RE:' prefix is used to indicate a reply.
- Use < pre > tag to make your code more readable in the message.

< snip >
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform