Viewing 15 posts - 1,261 through 1,275 (of 13,445 total)
I'm on the SQL cruise with limited internet, but i'll put together an article;
I tend to shy away from articles, hate getting criticism.
At my job, we just joined two AD...
January 31, 2016 at 4:46 am
in my case, I remove the users and logins from SQL Servers, but they stay forever in Active Directory.
I've got a nifty powershell i wrote that imports Active directory data...
January 28, 2016 at 10:32 am
there is a neat opportunity here to use the OUTPUT clause;
it allows you to capture things like new guids or identities into a table, and then consume it on a...
January 27, 2016 at 12:12 pm
hlrx (1/25/2016)
GilaMonster (1/23/2016)
hlrx (1/22/2016)
For example, this compiles and runs fine in one batch:[font="Courier New"]CREATE TABLE test1 (col1 INT NOT NULL)
ALTER TABLE test1 ALTER COLUMN col1 INT NULL
INSERT test1 VALUES (NULL)
GO[/font]
Yes...
January 25, 2016 at 9:09 am
vsamantha35 (1/25/2016)
Today came across an issue. Database mail alerts on job failures was not been sent. Checked the dbo.sysmail_faileditems and found that it was failing with authentication error.
Basically,...
January 25, 2016 at 6:22 am
if you added a table named Customer_Invoice, you would get the error
Conversion failed when converting the nvarchar value 'Invoice' to data type int.
Luis hit the nail on the head: you...
January 22, 2016 at 10:58 am
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
Viewing 15 posts - 1,261 through 1,275 (of 13,445 total)