Click here to Skip to main content
15,888,461 members
Articles / Database Development / SQL Server

Avoid single line comments in query to OLE DB Datasource

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
17 Mar 2011CPOL2 min read 18.1K   5  
OLE DB Provider pack all query to single line, thus all query text after comment clause will be truncated

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Database Developer Freelancer
Ukraine Ukraine
MS SQL Server Database Developer with 7+ years experience

Technologies/languages: Business Intelligence, SQL, MDX, VBA, SQL Server, Analysis Services (SSAS), Reporting services (SSRS), Integration Services (SSIS), DataWarehouse.
Also: economic background.

Feel free to contact me for rates and details.

Comments and Discussions