Viewing 15 posts - 166 through 180 (of 1,473 total)
Do you have a small segment of one of the scripts that you have to run through openquery (Or one of the whole scripts if they're relatively short)?
Something that's generic...
April 8, 2010 at 3:31 pm
The *= stuff is the old style. Don't use this. It won't work in 2008 and it's just confusing.
The reason you are filtering more out on the above...
April 8, 2010 at 2:39 pm
I'd go that route personally (and do). Is that TVF an inline TVF or a Multi-Line TVF?
April 8, 2010 at 12:59 pm
Ninja's_RGR'us (4/8/2010)
Garadin (4/8/2010)
Ninja's_RGR'us (4/8/2010)
Garadin (4/8/2010)
Chris Morris-439714 (4/8/2010)
Sympathies mate. How much leeway do you have with the db? Can you for instance sneak in a trigger here and there, and...
April 8, 2010 at 12:50 pm
You've tried... the query I wrote? Or the one you wrote below that is totally different?
If the goal is to eventually to get rid of the table, then...
April 8, 2010 at 12:46 pm
insert into destinationtable [Fields...]
SELECT DISTINCT [Fields...]
from sourcetable
April 8, 2010 at 12:36 pm
Ninja's_RGR'us (4/8/2010)
Garadin (4/8/2010)
Chris Morris-439714 (4/8/2010)
Sympathies mate. How much leeway do you have with the db? Can you for instance sneak in a trigger here and there, and maybe a...
April 8, 2010 at 12:28 pm
The query hasn't changed, but the underlying data, index fragmentation, statistics accuracy etc. all has. It could also have just had a "bad" plan.
I've had 1 particular query that...
April 8, 2010 at 12:23 pm
Here's some information on what might be happening.
April 8, 2010 at 12:08 pm
Have you tried Linked Servers?
April 8, 2010 at 12:03 pm
Chris Morris-439714 (4/8/2010)
Sympathies mate. How much leeway do you have with the db? Can you for instance sneak in a trigger here and there, and maybe a link table?
It's...
April 8, 2010 at 11:42 am
Ninja's_RGR'us (4/8/2010)
Chris Morris-439714 (4/8/2010)
Sympathies mate. How much leeway do you have with the db? Can you for instance sneak in a trigger here and there, and maybe a link...
April 8, 2010 at 11:37 am
Hanri Naude (4/8/2010)
hi,You can change the first day of the week by using the @@DATEFIRST keyword.
http://msdn.microsoft.com/en-us/library/ms181598(SQL.90).aspx
Regards,
Hanri
You can change the day of the week, but as I mentioned in an earlier...
April 8, 2010 at 9:03 am
Paul White NZ (4/8/2010)
Multi-statement T-SQL functions suck more.
In-line T-SQL functions are awesome.
Multi-statement functions do have their uses - but only if the logic cannot be written in...
April 8, 2010 at 7:41 am
[Edit] Ack, thought I had scrolled down all the way, apparently I was wrong.
Since I've posted anyways, might as well mention that doing it this way automatically adjusts for language...
April 7, 2010 at 10:49 pm
Viewing 15 posts - 166 through 180 (of 1,473 total)