Viewing 15 posts - 16 through 30 (of 43 total)
Hi John..
Two other idea occur to me at the moment. I'll keep puzzling on this one.
Has SET TRUSTWORTHY ON been set in both databases? Is the state of SET ANSI_NULLS...
July 19, 2006 at 9:39 am
Note that Profile is a reserved word. You might want to try [Profile] instead.
Also, your UPDATE syntax will instantiate the table twice. Consider the following (omits the FROM):
Update
July 18, 2006 at 11:03 am
Hi Chase..
I've had success using OPENROWSET to do this work. Check out this blog entry.
Hope this helps..
July 18, 2006 at 10:58 am
To do this in schema, you'd need two columns (FKtoTableB and FKtoTableC). If each column was NULLable, you could then write a view that uses the COALESCE function to snag...
July 17, 2006 at 3:49 pm
Is the client SQL savvy?
Are they aware of the XML enahncements in SQL Server?
You've perhaps got an opportunity to educate them.. but if they're resistant, I suppose you should give...
July 13, 2006 at 10:52 pm
This looks to me like an ideal candidate for using XML to pass your parameters.
I'm currently on vacation and away from my archives, but if this is of interest early...
July 13, 2006 at 12:07 pm
You should be able to write a version of this query using the new ROW_NUMBER intrinsic as well..
July 12, 2006 at 12:14 pm
Hi..
I'm away from my office (and my archives) at the moment, so it will be next week before I can get this to you.
If you look through BOL, you'll find...
July 12, 2006 at 12:11 pm
As a best practice, I would recommend staying away from "old style" joins (table names separated by commas). In certain scenarios, they can produce ambiguous results.
Stick with the "new style"...
July 12, 2006 at 11:47 am
Hi..
Without a full repro, it's difficult to draw a firm conclusion about your issue. At first blush, though, it sounds as though it might be a collation issue in the...
July 11, 2006 at 1:36 am
In this instance, then, I would use SQL Server's timestamp datatype.
I'm a litle confused about your "binary value" statement; timestamps are far from binary. So I may still not be giving...
July 11, 2006 at 1:28 am
Hello..
I would suggest a datetime value, set to the current UTC time (GETUTCDATE()).
Hope this helps!
July 10, 2006 at 4:10 pm
I'm glad this worked for you! FYI, you can also handle the sequencing issues within the syntax of the CTE thusly:
declare
@temp table
(
July 6, 2006 at 11:32 pm
Hello Chandrika..
This is a job for "the OPENROWSET trick," which you can find on my blog here. This solution will work for either SQL Server 2000 or SQL Server...
July 4, 2006 at 11:40 pm
Hello Grant..
If your project calls for manipulation of XML or long strings, you can make a reasonable statement that your productivity will be higher under SQL 2005 than SQL 2000. ...
July 4, 2006 at 11:38 pm
Viewing 15 posts - 16 through 30 (of 43 total)