Viewing 15 posts - 5,071 through 5,085 (of 10,144 total)
Gosh :blush: thanks! Hang around here, read the articles...you'll soon pick it up.
March 7, 2013 at 5:40 am
winmansoft (3/7/2013)
ChrisM@Work (3/7/2013)
DECLARE @Parameter VARCHAR(8000)
SET @Parameter = 'seh,jyo,mhf'
SELECT *
INTO #Elements
FROM dbo.DelimitedSplit8K (@Parameter,',')
SELECT m.*
FROM...
March 7, 2013 at 5:17 am
SELECT MAX(Ticket_Closed_DateTime)
FROM Tussen_Tickets
-- returns '2013-01-17 10:22:00.000'
March 7, 2013 at 2:46 am
DECLARE @ItemCod VARCHAR(8000) = 'T1;T2;T3;'
DECLARE @ItemName VARCHAR(8000) = 'Pencil Box;Eraser;Mouse Pad;'
DECLARE @Amount VARCHAR(8000) = '1900;2000;8900;'
SELECT
c.ItemNumber,
ItemCod = c.Item,
ItemName = n.Item,
Amount = a.Item
FROM dbo.DelimitedSplit8K(@ItemCod,';') c
INNER JOIN...
March 7, 2013 at 1:56 am
purushottam2 (3/7/2013)
1. SELECT 1 FROM table1 WHERE Id IN (SELECT Id FROM table2)
2. SELECT 1 FROM table1 t1 INNER JOIN table2 t2 ON t1.Id...
March 7, 2013 at 1:41 am
This is called "Islands and Gaps". An island is a set of rows where the dates are consecutive, bounded by rows with non-consecutive dates. Jeff Moden has a great Spackle...
March 7, 2013 at 1:38 am
winmansoft (3/6/2013)
I found that i can do this
DECLARE @Parameter VARCHAR(8000)
SET @Parameter = 'seh,jyo,mhf'
DECLARE @Elements TABLE
(
...
March 7, 2013 at 1:08 am
Revenant (3/6/2013)
BTW, the linked page gives you a...
March 7, 2013 at 1:01 am
geert.de.vylder (3/6/2013)
ChrisM@Work (3/6/2013)
I've no idea, Geert. Folks here on SSC will help you with coding decisions; this is more of a business decision. A date filter seems sensible to me...
March 6, 2013 at 9:32 am
geert.de.vylder (3/6/2013)
ChrisM@Work (3/6/2013)
I've no idea, Geert. Folks here on SSC will help you with coding decisions; this is more of a business decision. A date filter seems sensible to me...
March 6, 2013 at 9:12 am
If there really are always four elements, then you could use PARSENAME (look it up in BOL):
;WITH SampleData AS (
SELECT MyString = 'Scrap : Part Assembly : Surface Defects :...
March 6, 2013 at 9:10 am
geert.de.vylder (3/6/2013)
ChrisM@Work (3/6/2013)
Let's call a set from this table containing the same day, all of the intervals, and the same Event_Channel,...
March 6, 2013 at 8:54 am
geert.de.vylder (3/6/2013)
ChrisM@Work (3/6/2013)
This data set obviously isn't what you were expecting to see, even though it exactly meets your requirements. What would you like to do with it?
I have to...
March 6, 2013 at 8:24 am
Ratheesh.K.Nair (3/6/2013)
Problem i am facing is When selecting I am getting same data while using symbol F or F as search criteria both are giving the...
March 6, 2013 at 7:41 am
geert.de.vylder (3/6/2013)
...But the columns DVBIntern, DVBExtern, Tijdsduur, WrapUp, OnHold and Talk are all NULL or zero...
That sounds about right. The matrix table contains 1,180,224 rows (all dates and event channels...
March 6, 2013 at 7:35 am
Viewing 15 posts - 5,071 through 5,085 (of 10,144 total)