Viewing 15 posts - 1,546 through 1,560 (of 10,144 total)
p.shabbir (6/3/2016)
WITH MyData AS (SELECT SRC_ERROR_OUTPUT FROM REJ.FILE_READ_REJECTS WHERE...
June 3, 2016 at 8:48 am
p.shabbir (6/3/2016)
ChrisM@Work (6/3/2016)
Do you have a means of detecting the split point?
11157243 1224314 20160523 05/22/2016 20160526 GLOB 4,000 16 72 ISASANTAELLA@HOTMAIL.COM c1e1b966-4233-11d4-85dc-080009daf0d2 373294099 XXXXX4099 ISABEL SANTAELLA DE KUBLER ISABEL SANTAELLA...
June 3, 2016 at 7:02 am
SELECT m.*
FROM mytable m
WHERE EXISTS (
SELECT 1
FROM mytable i
WHERE i.cst_org_name_dn = m.cst_org_name_dn
AND i.mbt_code = 'EM')
AND m.mbt_code <> 'EM'
June 3, 2016 at 6:57 am
Do you have a means of detecting the split point?
June 3, 2016 at 6:41 am
WITH MyData AS (SELECT MyString = '11157243 1224314 20160523 05/22/2016 20160526 GLOB 4,000 16 72 ISASANTAELLA@HOTMAIL.COM c1e1b966-4233-11d4-85dc-080009daf0d2 373294099 XXXXX4099 ISABEL SANTAELLA DE KUBLER ISABEL SANTAELLA DE KUBLER Y MORI N...
June 3, 2016 at 6:20 am
WITH MyData AS (SELECT * FROM (VALUES (11,1),(12,1),(13,2),(14,3),(22,2),(22,2),(23,4),(24,4)) d (Item, [Count]))
SELECT
[10 to <20] = SUM(CASE WHEN Item >= 10 AND Item < 20 THEN [Count] ELSE 0 END),
[20 to...
June 3, 2016 at 3:53 am
Duplicate post, the original is here.
Duplicate posts waste time and effort. The original post has useful questions and replies. Responding to this thread will lead to a fragmented domain.
June 3, 2016 at 3:20 am
Duplicate post, the original is here.
Duplicate posts waste time and effort. The original post has useful questions and replies. Responding to this thread will lead to a fragmented domain.
June 3, 2016 at 3:20 am
GilaMonster (6/2/2016)
Grant Fritchey (6/2/2016)
jasona.work (6/2/2016)
I read this and suddenly felt millions of DBAs cry out in horror...(Yes, it's the Daily WTF, scarily it might even be (mostly) true)
Great story. A...
June 3, 2016 at 1:47 am
jasona.work (6/2/2016)
I read this and suddenly felt millions of DBAs cry out in horror...(Yes, it's the Daily WTF, scarily it might even be (mostly) true)
This story probably is true because...
June 3, 2016 at 1:39 am
UPDATE eligibility SET primary_plan = 0
WHERE primary_plan <> 0
AND EXISTS (
SELECT 1
FROM temp_eligibility e
WHERE e.eligibility_id = eligibility.eligibility_id)
Might eliminate some writes.
June 2, 2016 at 9:56 am
Luis Cazares (6/2/2016)
ChrisM@Work (6/2/2016)
There are several ways to do this, most of them are compared here.
I would suggest that you use the XML PATH option (unless you already use CLR)....
June 2, 2016 at 6:58 am
There are several ways to do this, most of them are compared here.
June 2, 2016 at 5:32 am
squvi.87 (6/2/2016)
Following code will do the job for me. But I wonder is there any other way to accomplish.
create table #t1 (id int , names varchar(100))
declare @a varchar(100) ,@i...
June 2, 2016 at 4:44 am
WhiteLotus (6/2/2016)
I am tuning an UPDATE query by adding an index
UPDATE XYZ
SET Count = Count + 1,
LastOccured = GetDate()...
June 2, 2016 at 4:27 am
Viewing 15 posts - 1,546 through 1,560 (of 10,144 total)