Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error: Column 'Cheryl' disable
Message
 
 
À
18/08/2003 05:30:33
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00820953
Message ID:
00821044
Vues:
20
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform