Viewing 15 posts - 1,291 through 1,305 (of 13,460 total)
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...
Lowell
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,
...
Lowell
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...
Lowell
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....
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
January 12, 2016 at 5:43 am
martin 48305 (12/4/2015)
Lowell
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...
Lowell
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...
Lowell
January 11, 2016 at 2:33 pm
you are sure they were REALLY sent, right?
first check and make sure they were not receiving errors from the mailserver:
SELECT top 100
mail.send_request_date As SentDate,
sent_status As Reason,
err.[description],
...
Lowell
January 11, 2016 at 2:13 pm
Viewing 15 posts - 1,291 through 1,305 (of 13,460 total)