Viewing 15 posts - 3,481 through 3,495 (of 5,504 total)
The main question would be: What would you define as "obsolete SQL objects"?
I think you can only refer to views, procedures and/or functions that would use tables or columns that...
May 18, 2010 at 4:00 pm
It seems like a job for the "quirky update" method as described in Jeffs article[/url].
I recommend you read the article and try to modify it to meet your requirements.
If...
May 18, 2010 at 3:12 pm
Robert.Weeden (5/18/2010)
May 18, 2010 at 2:48 pm
Untested, so you definitely need to verify in detail:
UPDATE [shiptype]
SET [shiptype].[Order Type] = [EDI_T]
CASE
WHEN ([shiptype].[EDI_T]) LIKE 'web%' THEN 'WEB'
WHEN ([shiptype].[FrctStnd]) = '1' THEN 'EDI'
WHEN ([shiptype].[EDI_T]) IS NULL THEN 'MAN'
ELSE...
May 18, 2010 at 2:42 pm
Would something like the following help?
SELECT * FROM
(
SELECT 'Smith John' AS lastname UNION ALL
SELECT 'S#ith Jane' UNION ALL
SELECT '\ Jim' UNION ALL
SELECT 'Anderson Ken' UNION ALL
SELECT 'Smith-Barny Andre'''
) a
WHERE lastname...
May 18, 2010 at 2:34 pm
Robert.Weeden (5/18/2010)
Most commonly I will get data like thisLastName
SmithJohn
???
Seems like the page formatting eat up all your "special" character... Maybe you could provide a (small) screen shot as an image?
May 18, 2010 at 2:22 pm
Several questions:
How do you calculate the duration?
Example:
If you exclude the second occurance of event 1 for Odometer 194780 (Date = 2010-03-26 08:32:00.000), how do you get 32minutes (I'd expect...
May 18, 2010 at 2:16 pm
You might want to look into the wildcards used in a LIKE query.
For details please see BOL, section "LIKE", examples.
Another option would be to check if the string contains an...
May 18, 2010 at 2:00 pm
duplicate post.
Please continue discussion here
May 18, 2010 at 12:57 pm
duplicate post.
Please continue discussion here
May 18, 2010 at 12:54 pm
duplicate post.
Please continue discussion here
May 18, 2010 at 12:52 pm
Jeff Moden (5/17/2010)
Nice job. It was only your second post and you came right around with some really nice test data. A lot of people squawk about doing...
May 18, 2010 at 11:45 am
nsontag (5/17/2010)
That's great!
Thanks for all your...
May 17, 2010 at 4:53 pm
Here's a tested version based on your sample data. That's the advantage of providing ready to use sample data the way you did! Excellent job!!
Side note: the concept below is...
May 17, 2010 at 4:11 pm
Viewing 15 posts - 3,481 through 3,495 (of 5,504 total)