Viewing 15 posts - 1,291 through 1,305 (of 13,469 total)
untested, but this might give you an idea.
percentage is # ontime / Total,typically limited by a period of time (a month?)
due to integer division in SQL, you need to convert...
January 22, 2016 at 7:15 am
nice solution from Hugo, as always;
for me, i really hate running totals stored in the table itself; plus it's breaking some of those rules for normalization, of course.
eventually, the...
January 22, 2016 at 7:06 am
i'm betting Sean Lange's suggestion that your left join converted to inner is your core problem:
modify your join criteria like this, doe sthat solve the issue?
SELECT
ord.CustomerId,
...
January 20, 2016 at 12:30 pm
User2 has to be created with the correct roles and permissions in the new database.; permissions in the old db would not make any difference;
sounds like he has rights...
January 20, 2016 at 12:15 pm
i think this is an Oracle question ffor the psuedo column rownum that is materialized in that RDBMS:
https://docs.oracle.com/cd/B28359_01/server.111/b28286/pseudocolumns009.htm
Conditions testing for ROWNUM values greater than a positive integer are always false....
January 18, 2016 at 2:43 pm
tusharchpatil (1/18/2016)
no i am not using simultaneouly its writing mistakei wanted to know why rownum not allowed = and > operator to get proper result.?
it is absolutely allowed, and works...
January 18, 2016 at 2:34 pm
rownum would have to be a real column name, right?
if it is an alias for the row_number() functions's results, no results would occur if your table only had...
January 18, 2016 at 1:20 pm
there is no alert for that specific condition(where a spid exists with value = -2.)
so you cannot use Alerts, specifically.
for specific events you can capture, you can have an event...
January 16, 2016 at 5:38 am
it looks like you've got a process, maybe a sql job or windows scheduled task, that runs every five minutes?
might also be an application or Service, installed on the...
January 15, 2016 at 10:27 am
if your source has multiple lat/long for a postal code, you'd get the error;
you need to limit to a single "missing" postal code
WITH MySource
AS
(SELECT ROW_NUMBER() OVER (Partition By PostImp.ZipCode ORDER...
January 14, 2016 at 2:52 pm
yes, with a data driven subscription(if you have enterprise) ; more info is needed obviously, but if the report has a parameter for UserId or email to generate an...
January 12, 2016 at 9:03 am
there are two specific, separate free downloads called SQL Server Data Tools(SSDT /SSDT-BI) that are related to SQL server 2014, so that you can do Data related projects or...
January 12, 2016 at 5:43 am
martin 48305 (12/4/2015)
January 12, 2016 at 5:34 am
Michelle-138172 (1/11/2016)
I checked the SQL Server Agent and the mail profile is enabled for the Alert System.
There is no error message in the mail tables either.
The...
January 11, 2016 at 2:51 pm
SQL server cannot connect to a POP3/IMAP a server to pull down the mail natively.
you can do it in a programming language like c#/VB.net, which also means you can create...
January 11, 2016 at 2:33 pm
Viewing 15 posts - 1,291 through 1,305 (of 13,469 total)