Viewing 15 posts - 751 through 765 (of 1,957 total)
aochss (8/9/2013)
However, I cannot see the use/value of the "NULLIF" construct. In what situations would you...
August 9, 2013 at 8:03 am
Being mostly self taught in SQL Server, it has been more of a gradual slide into understanding, but I guess if I had to choose something it would come from...
August 9, 2013 at 7:34 am
Koen Verbeeck (8/8/2013)
Sean Lange (8/8/2013)
August 8, 2013 at 4:23 pm
I would think that looking at the execution plans with 4 and 8 DOP would be a starting point.
Any chance that your tempdb setup is not optimised for MAXDOP 8?
August 8, 2013 at 8:37 am
james.of.rivendell (8/7/2013)
Moral of today's question. Be careful when using indeterministic functions inside nullif...
That's not the only place this can happen of course...
ok181ko (8/8/2013)
newid() = '00000000-0000-0000-0000-000000000000'
The question is not correct....
August 8, 2013 at 8:20 am
Sean Lange (8/7/2013)
An INSTEAD OF trigger can definitely result in [highlight="#ffff11"]@@rowcount being different to SELECT count(x) FROM[/highlight] ...
Same result changing this to an instead of trigger.
Yes, you get @@rowcount =...
August 7, 2013 at 5:46 pm
Sean Lange (8/6/2013)
Lowell (8/6/2013)
August 6, 2013 at 4:27 pm
ScottPletcher (8/6/2013)
Column2 is not nullable if it was not nullable in the original table.
Actually, yes you are right - that was imprecise of me - thanks for picking up on...
August 6, 2013 at 4:11 pm
Amy.G (8/5/2013)
SELECT column1, column2
INTO NewTable
FROM OldTable
method. Is there a way of creating a table in this manner and saying if the columns should...
August 5, 2013 at 5:51 pm
Of course the other problem with SET ROWCOUNT is that it could affect the outcome in unseen ways, restricting every query within the SP to the limited number of rows,...
August 3, 2013 at 6:48 pm
Are you using a particularly slow system?
Millions of rows shouldn't be a major problem unless those rows are massively wide...for instance, on my PC I can shift 1000000 rows...
August 1, 2013 at 4:51 pm
When you are asking for help it is useful to provide easily usable sample data like this:
declare @ins table(inscol xml);
insert @ins(inscol)
select convert(xml,'<?xml version="1.0"?>
<!DOCTYPE ins PUBLIC "ins" "hsdbdj">
<instructions>
<format-template>${ND}
</format-template>
<node id="node-0"...
August 1, 2013 at 4:40 pm
Start here (MSDN link): Database Mail
If you get stuck come back and ask. 🙂
July 31, 2013 at 5:57 pm
So, can you not check the values you are about to log and send email as appropriate from there?
July 31, 2013 at 5:16 pm
SQListic (7/31/2013)
We do custom logging into a table. The requirement is that the developers should receive email immediately whenever there is specific data in that column
Any Input is Appreciated
Thanks...
July 31, 2013 at 5:11 pm
Viewing 15 posts - 751 through 765 (of 1,957 total)