SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Message sequencing error


Message sequencing error

Author
Message
Howard C. BAchtel-438731
Howard C. BAchtel-438731
SSC-Enthusiastic
SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)

Group: General Forum Members
Points: 186 Visits: 391
We extract data daily from an Cache database using the OpenQuery method of data extract from Cache. We have received a "Message sequencing error" exception from this process. The SQL code used in the OpenQuery for the Cache extract runs correctly on the Cache server with no errors.

Is there any place I can find what this message actually means?

The complete message is:
OLE DB provider "MSDASQL" for linked server "PGH_CACHE" returned message "[Cache ODBC][State : 08S01][Native Code 452]
[C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe]
Message sequencing error".
Msg 7320, Level 16, State 2, Line 1
Cannot execute the query "SELECT
a.IEN,
a.Number,
a.PatientID,
a.AdmissionDate,
%internal(a.AdmissionDate) as AdmissionDateint,
a.Drg,
a.DischargeDate,
%internal(a.DischargeDate) as DischargeDateint
FROM PTHLDR.Ptf_45 a
Where a.IEN in(288695,288740,288741)" against OLE DB provider "MSDASQL" for linked server "PGH_CACHE".
--
The field that causes the exception is Drg. If I comment out this field the extract works.

Any help or direction is appreciated.

Thanks.
ChrisM@Work
ChrisM@Work
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16282 Visits: 19551
Have you contacted the vendor?

“Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Exploring Recursive CTEs by Example Dwain Camps
Howard C. BAchtel-438731
Howard C. BAchtel-438731
SSC-Enthusiastic
SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)

Group: General Forum Members
Points: 186 Visits: 391
Yes. I have contacted them and an individual has been assigned but no response at this time. My previous contacts with issues have been that when the vendor sees an indication of a SQL message vs. Cache message, coupled with the fact that the query runs correctly on the Cache server, the response is "not my problem".

I have not actually received this response yet, but will not be surprised.

Thanks.
Scott Meddows
Scott Meddows
SSC Rookie
SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)

Group: General Forum Members
Points: 39 Visits: 99
Did you ever get a response from InterSystems on this? I get the same error occasionally and would like to resolve it if I can.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search