Viewing 15 posts - 7,756 through 7,770 (of 10,144 total)
mbricker-600840 (6/24/2010)
Itchy & Scratchy
Aaaaarrrrrgggggghhhhhhhhhh!!!!
I'm never harvesting wildfowl feathers ever again!
June 24, 2010 at 7:45 am
da-zero (6/24/2010)
arik_beri (6/24/2010)
But yet it still doesn't work. When I copied this expression to the expression column in the SSIS edit...
June 24, 2010 at 6:27 am
Have you tried using datetime functions for this?
SELECT DATEDIFF(mi, '1900-01-01 00:00', '1900-01-01 ' + '00:45')
SELECT DATEDIFF(mi, '1900-01-01 00:00', '1900-01-01 ' + '01:00')
SELECT DATEDIFF(mi, '1900-01-01 00:00', '1900-01-01 ' + '01:01')
SELECT DATEDIFF(mi,...
June 24, 2010 at 5:02 am
It's still a little unclear what you are trying to do, but I think it's a filter.
So,
WHEN @timespan = 'YTD'
you want to return data within...
June 24, 2010 at 4:33 am
Shintu (6/24/2010)
Still it is giving the same error .Is there any problem in the group by clause ?
Subhro
June 24, 2010 at 4:09 am
Steve Jones - Editor (6/23/2010)
Is this soccer stuff over today?
England vs Slovenia is in progress.
Perhaps that should have read Slovenly vs Slovenia 😀
June 23, 2010 at 8:37 am
Ray K (6/23/2010)
Harpoon(more the beer than the weapon)
(more of a weapon than a beer) 😀
June 23, 2010 at 8:14 am
Vinay Theethira (6/23/2010)
I have got MailDate with me. I just need to check the condition weather MailDate>=CalenderDays. Please help me out.
If the column 'CalendarDays' isn't in the table which contains...
June 23, 2010 at 7:55 am
The choices in your CASE resolve to constants.
-- WHEN @sortby = 'YTD'
GROUP BY cp.Device_Type_Code, c.Perfect_Journey_Tech_Exception_Flag, 2010
-- WHEN @sortby = 'Q2 2010'
GROUP BY cp.Device_Type_Code, c.Perfect_Journey_Tech_Exception_Flag, 2
-- WHEN @sortby = 'June 2010'
GROUP...
June 23, 2010 at 7:27 am
CirquedeSQLeil (6/21/2010)
Trey Staker (6/21/2010)
dbowlin (6/21/2010)
Like they say....it's not the heat, it's the humidity.
So true, I also spent 2 weeks in Huston in August in 90 degree weather and it felt...
June 22, 2010 at 2:11 am
The date filter in the WHERE clause will work much more efficiently if the date can be compared directly to a lower and upper bound without any transformation. The expression...
June 21, 2010 at 7:36 am
Looks like an UPDATE to me.
UPDATE docsadm.shellorganisation
SET [disabled] = 'y'
WHERE docsadm.shellorganisation.org_name LIKE 'do not use%'
June 21, 2010 at 3:07 am
What are you trying to do here? Insert new rows into shellorganisation, or update existing rows?
June 21, 2010 at 2:56 am
Viewing 15 posts - 7,756 through 7,770 (of 10,144 total)