RE: odbccommand cant interpret some /*xxx*/ comments
- From: Pak-Ming Cheung [MSFT] <PakMingCheungMSFT@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 19:55:01 -0700
I have tested your given SProc in ODBC Test (shipped inside MDAC SDK 2.8). I
found that there is no problem if i put your given command into SQLExecDirect.
So, could you give us the exact program that can reproduce the problem?
Thanks,
Ming.
MDAC Team, Microsoft.
"Mauro SB" wrote:
Hi,.
does anybody knows why can an odbccommand throw a "incorrect syntax near
begin" when i try to execute something like this:
/********************
**sp description **
********************/
create procedure spSomething
@var int
as
begin
.
.
.
end
if i split the coment it works fine, but i need the comment :D
executing from query analyzer or alikes works fine!! but not with ODBC
tnks in advance!
- Follow-Ups:
- RE: odbccommand cant interpret some /*xxx*/ comments
- From: Mauro SB
- RE: odbccommand cant interpret some /*xxx*/ comments
- References:
- odbccommand cant interpret some /*xxx*/ comments
- From: Mauro SB
- odbccommand cant interpret some /*xxx*/ comments
- Prev by Date: odbccommand cant interpret some /*xxx*/ comments
- Next by Date: RE: SQLGetData not working with SQLFetchScroll when trying to fetch re
- Previous by thread: odbccommand cant interpret some /*xxx*/ comments
- Next by thread: RE: odbccommand cant interpret some /*xxx*/ comments
- Index(es):
Loading