dbTalk Databases Forums  

Sybase connect string gives me SQL Server error msg

comp.databases.ms-access comp.databases.ms-access


Discuss Sybase connect string gives me SQL Server error msg in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ragtopcaddy via AccessMonster.com
 
Posts: n/a

Default Sybase connect string gives me SQL Server error msg - 11-28-2007 , 04:29 PM






Using a user dsn with Sybase 11 driver, I created a pass through query. When
I run it, I get the following error msg:

"[INTERSOLV][ODBC SQL Server driver][SQL Server]Incorrect syntax near ';'
(#102)"

Here's the sql:

"SELECT AccountId FROM dbo_Accounts;"

Here's the connect string placed in the query when I build the connect string:


"ODBC;DSN=DSN_NAME;SRVR=SERVERNAME;DB=xy_abcde;UID =joesmith;PWD=pwd"

Thanks,

Bill

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200711/1


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.