Viewing 15 posts - 31 through 45 (of 55 total)
Yep, most definitely SQL Server Linked Servers.
sp_linkedServers only shows me the servers linked from this instance, what i'd like to know are servers linked to this instance.
September 10, 2013 at 4:34 am
I've been looking at this for a few days now and I can't find anything to indicate that the MSDN media is in anyway identifiable post install. I believe that...
September 5, 2013 at 8:26 am
I think you're right. The more I read into this area the more it seems that the actual installation media/licence doesn't matter so long as the safe has enough legit...
September 4, 2013 at 7:53 am
Not so 'users' but developers who login from their applications to run DML statements.
August 16, 2013 at 8:43 am
durai nagarajan (8/16/2013)
we have a DBA Group, reader group and windows apps user account , do you need anything more than this
We also use various groups for specific database permissions....
August 16, 2013 at 8:34 am
To those guys using AD groups, do you find that you have many groups mapped to logins e.g. many logins, or do you end up with only a few logins...
August 16, 2013 at 4:40 am
Thank you for your help and for the insight on picking the correct fields for new indexes. (thinking of old proverb about fishing and eating)
I like learning and hope that...
August 13, 2013 at 12:48 am
The first suggested index made little to no difference (probably why you edited the post!) and so I removed from my DB after testing.
The second suggested index halved the running...
August 12, 2013 at 9:04 am
ChrisM@Work (8/12/2013)
CASE -- All std time captured on Move*, as this is where quantity is recorded
-- where Move trans types don't exist, qty is recorded on other trans...
August 12, 2013 at 7:42 am
ChrisM@Work (8/12/2013)
SELECT
jt.job,jt.suffix, jt.oper_num, jt.trans_num, jt.emp_num,
x.oper_num, x.trans_num, x.emp_num,
jt2.trans_num
FROM jobtran jt (NOLOCK)
OUTER APPLY (
SELECT TOP 1
jtx.emp_num, jtx.oper_num, jtx.trans_num
FROM jobtran jtx(NOLOCK)
WHERE jtx.job...
August 12, 2013 at 7:41 am
ChrisM@Work (8/12/2013)
SELECT
jt.trans_num,
emp_num = CASE
WHEN jt.emp_num IS NOT NULL
THEN jt.emp_num
ELSE
(SELECT TOP 1
jtx.emp_num
FROM jobtran jtx(NOLOCK)
WHERE jtx.job = jt.job
ANDjtx.suffix...
August 12, 2013 at 7:37 am
Don't know where my last post went so I apologise if this is posted twice.
I've attached a set of INSERTS for the jobtran table representing some doctored data. I hope...
August 12, 2013 at 7:17 am
Here's some doctored INSERTS to populate the jobtran table. It covers two jobs which I think is sufficient for analysing the problem. Is this suitable?
August 12, 2013 at 7:15 am
Here's the full statement:
SELECTjt.trans_num,
CASE
WHEN jt.emp_num IS NOT NULL
THEN jt.emp_num
ELSE
(SELECT TOP 1 jtx.emp_num
FROM jobtran jtx(NOLOCK)
WHERE jtx.job = jt.job
ANDjtx.suffix = jt.suffix
AND jtx.oper_num >= jt.oper_num
ANDjtx.emp_num IS NOT NULL
AND jtx.trans_num <...
August 12, 2013 at 6:55 am
The main query (from which this was the identified 'slow' bit) uses; emp_num, trans_type, a_hrs, qty_moved, wc and CreateDate in the returned fields; job, suffix, wc, oper_num and trans_num in...
August 12, 2013 at 6:36 am
Viewing 15 posts - 31 through 45 (of 55 total)