Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

spexecute_adodb_sql generating Apostrophe symbol at excel header columns ?

$
0
0

Hi,

I have a stored procedure to generate excel file , but the excel file is getting Apostrophe at starting of column headers.

exec spExecute_ADODB_SQL @DDL='Create table Excel_CAB
                                         (CedNo TEXT,Cedname TEXT,Cedref TEXT,RiskRef TEXT,PostDate TEXT,Insuredname TEXT,Class TEXT,RINo TEXT,RIName TEXT,RIRef TEXT,BrokerName TEXT,BrokerRef TEXT,RIShare TEXT,PremAmt TEXT,CommAmt TEXT,Brokerage TEXT,TaxAmt TEXT,Stampduty TEXT,NetPrem TEXT,Effectivedate TEXT,PolStartdate TEXT,PolEnd TEXT,Remarks TEXT)',
                                         @DataSource =@folderMatched

Please help me to solve this..

Thank you..


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>