Viewing 15 posts - 1 through 15 (of 18 total)
May well not apply in your case, but it may be possible to set an additional flag on each record that says if it is to be considered or not.
February 28, 2019 at 2:50 am
Hi Eric and Thomas
It's a matter of timing.
In the application as it stands, the ResendLimit says the max times the relevant communication can be resent -...
February 6, 2019 at 7:14 am
To expand on Jeff's comment, the following shows information that is availableBEGIN TRY
-- Generate a divide-by-zero error.
SELECT 1/0;
END TRY
BEGIN CATCH...
February 6, 2019 at 2:19 am
Thanks Jeff.
Wow, nearly 1,000,000 points. I am in awe. Just as well SQLServerCentral didn't use even a smallint for that (and they should watch out if it is...
February 5, 2019 at 7:44 am
Thanks srienstr.
That was the main option I considered (along with casting within the subtraction).
I eventually decided against it - less on the overhead grounds - more because I...
February 5, 2019 at 7:30 am
db_send_dbmail returns a mailitem_id immediately (the email is queued to be sent later). Use that to read msdb.dbo.sysmail_mailitems and check sent_status at a later time (values 0-3 in my...
January 24, 2019 at 1:12 am
For me (with 2008 R2) it queues the message (and this makes logical sense to me).
Anyway, when you call send_dbMail, if it all is basically OK you get...
January 22, 2019 at 3:14 am
A simple way to get around the issue of modified_on and modified_by causing records to expand is
a) Use an ID for people (e.g. an int) so it is always...
June 21, 2018 at 2:15 am
Perhaps I'm misunderstanding how I should use the variant of the function you suggest.
Here is an example of how I would expect my version to be used, in...
December 20, 2017 at 6:57 am
I'm not sure what you'd expect the function to return when the number is not a divisor of the number of units in the implied containing period.
For example,...
December 20, 2017 at 3:39 am
Considering the underlying problem - how do we get the integer value nearest to 0 - I would use cast.
select cast(123.45 as int), cast(-123.45 as int), cast(123.89 as int),...
August 1, 2017 at 3:45 am
If the tables have multiple columns and you want to count where all columns match
select count(*) from (
select * from dbo.c_scope
intersect
select *...
June 19, 2017 at 4:30 am
I also use Netezza. There are some areas where it is much more user-friendly, for example:
1. In a query use alias names you just created. Example:...
February 3, 2017 at 3:17 am
You need to start with a sound design, thinking through the possible issues, then implement it.
The first design, with a suffixed number, is basically fine in principle. It will...
November 9, 2016 at 3:52 am
The use of Upper comes from an implementation of this on a different database that is case sensitive (Netezza) and a bit of (buggy) transcription. Whilst of course the...
March 17, 2015 at 3:51 am
Viewing 15 posts - 1 through 15 (of 18 total)