Viewing 15 posts - 31 through 45 (of 127 total)
Thomas (4/15/2009)
All of these are faster than cursors/loops.
Actually, not true. In my tests the above solutions at best matched the cursor or were beat by it and the cursor certainly...
Regards,
WilliamD
April 15, 2009 at 8:12 am
Thomas (4/14/2009)
Regards,
WilliamD
April 15, 2009 at 2:54 am
RichardB (4/9/2009)
GermanDBA (4/8/2009)
you could either backup the database, run the test and then restore the backup or take a snapshot of the database and restore that after the unit test.
Only...
Regards,
WilliamD
April 9, 2009 at 4:22 am
RichardB (4/8/2009)
sounds interesting.The main issues I guess would be around identities/autoincrements and anything with password in the call!
Do you have some way of resetting the database after?
Hi RichardB,
you could...
Regards,
WilliamD
April 8, 2009 at 5:49 am
".....but we've always done it that way"
"No need for that where clause, we can filter the results in the GUI"
Regards
GermanDBA
Regards,
WilliamD
April 8, 2009 at 12:40 am
Graspnext (4/6/2009)
Regards,
WilliamD
April 6, 2009 at 6:01 am
Hi Sean,
doesn't peer-to-peer do this anyway? IIRC the distribution is set to be performed on the source machine as default. I would suggest that you try it out...
Regards,
WilliamD
April 2, 2009 at 1:10 am
Hi Jack,
I agree with the safety of db_mail, just thought it prudent to point out that doing things like that inside a trigger can be a little risky. Trigger...
Regards,
WilliamD
February 24, 2009 at 6:30 am
Hi Jfc,
I just noticed that my sample code didn't have the html code in it - the forum seems to have thrown it away (doesn't like html tags to...
Regards,
WilliamD
February 24, 2009 at 6:12 am
Hi Jfc,
have you tried creating the template you want with all the html tags in it and then using REPLACE to remove your placeholders?
Example:
declare @htmltext varchar(max)
declare @username varchar(255)
declare @calldescription varchar(255)
declare...
Regards,
WilliamD
February 24, 2009 at 1:02 am
Hi Steve,
this is something that I have seen at my new workplace.
It is not just cross apply that can cause the problems, joining directly to XQuery or OPEN XML queries...
Regards,
WilliamD
February 18, 2009 at 5:19 am
Hi Ian,
no problem.
Do let us know how you get on.
GermanDBA
Regards,
WilliamD
February 18, 2009 at 3:33 am
Ian Ashworth (2/16/2009)
At first thoughts for data transfer I immediately looked into BCP (as I'm from a SQL 2000 background) however I soon came to realise that due to the...
Regards,
WilliamD
February 18, 2009 at 3:19 am
Hi there,
maybe this can get you started:
-- Testdata based on your posted example did not work on the forum, it needs inserting here
declare @xml xml
set @xml='your xml data here'
;
-- Shred...
Regards,
WilliamD
February 18, 2009 at 3:15 am
Hi again,
just in case anyone is interested, I got in touch with the author of the whitepaper and he has this exact topic in an up-coming blog!
He also asked me...
Regards,
WilliamD
February 17, 2009 at 12:50 am
Viewing 15 posts - 31 through 45 (of 127 total)