Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error: Column 'Cheryl' disable
Message
 
 
To
18/08/2003 05:30:33
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00820953
Message ID:
00821044
Views:
21
You've to double single quotes if they are inside another single quotes.
where au_fname = ''Cheryl''
>Hi:
>
>what is wrong this code
>
>exec master..xp_cmdshell 'bcp "SELECT au_fname, au_lname FROM pubs..authors where au_fname = 'Cheryl'" queryout e:\Authors.txt -c -Sliuxiaoling -Usa -P'
>
>Error: [Microsoft][ODBC SQL Server Driver][SQL Server] Column 'Cheryl' disable¡£
>
>I will export Query Data to a EXCEL file .
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform