Unix Technical Forum

unknown token received from SQL Server

This is a discussion on unknown token received from SQL Server within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> One of my user tried to pull data out of SQL Server into Excel sheet via Microsoft ODBC SQL ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:05 PM
Yanjie Ren
 
Posts: n/a
Default unknown token received from SQL Server

One of my user tried to pull data out of SQL Server into
Excel sheet via Microsoft ODBC SQL Server driver. She got
the following error: ( The data volumn is small with 700
rows. )

[Microsoft][ODBC SQL Server Driver]Unknown token received
from SQL Server.

Has anybody had the same experience? Could you shed some
light on this?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:05 PM
Dinesh T.K
 
Posts: n/a
Default Re: unknown token received from SQL Server

Yanjie,

Does this help?
'FIX: Err Msg "Unknown Token Received from SQL Server'
http://support.microsoft.com/default.aspx?id=151693

--
Dinesh
SQL Server MVP
--
--
SQL Server FAQ at
http://www.tkdinesh.com

"Yanjie Ren" <yren@cc3.com> wrote in message
news:c9f601c438fb$3ca46510$a001280a@phx.gbl...
> One of my user tried to pull data out of SQL Server into
> Excel sheet via Microsoft ODBC SQL Server driver. She got
> the following error: ( The data volumn is small with 700
> rows. )
>
> [Microsoft][ODBC SQL Server Driver]Unknown token received
> from SQL Server.
>
> Has anybody had the same experience? Could you shed some
> light on this?
>
> Thanks.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 08:05 PM
Yanjie Ren
 
Posts: n/a
Default Re: unknown token received from SQL Server

The article doesn't apply to what my user did. We have the SQL Server
2000. The user was trying to pull out data into an Excel sheet via ODBC.
(It's just a query. ) Sometimes, she could run it successfully. The
occurence of the error is not consistent.

Thanks.





*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 08:08 PM
Sarah
 
Posts: n/a
Default Re: unknown token received from SQL Server

Can someone translate this into english? I have no idea
what forward-only, static, keyset, or dynamic cursors are.
But I still want to pull a table into Excel but I keep
getting this error.

Help please!
Sarah

>-----Original Message-----
>Yanjie,
>
>Does this help?
>'FIX: Err Msg "Unknown Token Received from SQL Server'
>http://support.microsoft.com/default.aspx?id=151693
>
>--
>Dinesh
>SQL Server MVP
>--
>--
>SQL Server FAQ at
>http://www.tkdinesh.com
>
>"Yanjie Ren" <yren@cc3.com> wrote in message
>news:c9f601c438fb$3ca46510$a001280a@phx.gbl...
>> One of my user tried to pull data out of SQL Server

into
>> Excel sheet via Microsoft ODBC SQL Server driver. She

got
>> the following error: ( The data volumn is small with

700
>> rows. )
>>
>> [Microsoft][ODBC SQL Server Driver]Unknown token

received
>> from SQL Server.
>>
>> Has anybody had the same experience? Could you shed

some
>> light on this?
>>
>> Thanks.

>
>
>.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 08:29 PM
SqlJunkies User
 
Posts: n/a
Default Re: unknown token received from SQL Server

I received the same error using Excel and Microsoft Query in order to import the result set of a specific query into Excel.

I resolved the error by taking out a single line in the query that I had commented using "--" in SQL Query Analyzer. Apparently, the MS Query interface does not like the commented code.

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com