So, given March 3, 2011, we want to return January 1, 2011, the first date of Quarter 1.
Thursday, March 03, 2011
TSQL: Get the first date of a quarter
Here’s a script to find the first calendar date in the quarter, given any date.
Friday, February 18, 2011
"Heterogeneous queries and use of OLEDB providers are not supported in fiber mode."
This is a classic.
I've seen this in environments where someone is trying desperately to resolve SQL Server performance issues. Out of the blue, linked server/DTC queries will begin to fail with the following error message:
Heterogeneous queries and use of OLEDB providers are not supported in fiber mode.
I've seen this in environments where someone is trying desperately to resolve SQL Server performance issues. Out of the blue, linked server/DTC queries will begin to fail with the following error message:
Heterogeneous queries and use of OLEDB providers are not supported in fiber mode.
Monday, February 14, 2011
Using a DDL trigger push changes over a linked server
Here's a script I put together to automatically propagate schema changes to keep two SQL Server databases in sync using a DDL trigger. This could just as easily be applied to two databases connected by linked server connections.
This isn't the only solution for schema-only change propagation, I'll have a blog post on that later and update this one when I do.
Subscribe to:
Comments (Atom)