Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server Newbies
»
Views across a linked server
Views across a linked server
Rate Topic
Display Mode
Topic Options
Author
Message
dbv147
dbv147
Posted Thursday, June 04, 2009 12:38 PM
Grasshopper
Group: General Forum Members
Last Login: Wednesday, October 17, 2012 9:52 AM
Points: 10,
Visits: 99
Hi All,
I was wondering if i could get some help with an error. I'm the DBA for a call center company & we've recently been trying to tie financial data to phone switch data. Instead of loading the financial data into our Data warehouse we're trying to create views of the financial data across a linked server. Then our reporting solution (Hyperion) hits our data warehouse via ODBC. We decided to do it this way to make it easier on our report witters. The problem is though that the 1st time a user opens one of the reports hitting the views they get the error below. Then if they stay connected & rerun the report it runs fine. But the next time they connect & run the report it errors on the 1st run every time.
[[Microsoft][ODBC SQL Server Driver][SQL Server]Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.]
I've tried enabling ANSI NULLS, ANSI Warnings, & Quoted Identifiers with no luck. We've tried un-checking the options on the ODBC & also tried various versions of the ODBC drivers including the SQL native(2005) driver. Both the SQL server on the link are SQL 2005. They do have different collations though. The problem only occurs on reports that hit the views going across the linked server. The rest of the reports that hit the tables in the DB via ODBC are fine. Any help would be appreciated.
Thanks,
Dan
Post #729216
Lynn Pettis
Lynn Pettis
Posted Thursday, June 04, 2009 1:30 PM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 11:55 AM
Points: 21,626,
Visits: 27,476
Please don't cross post.
Please post replies
here
.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #729244
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.