Viewing 15 posts - 1,171 through 1,185 (of 1,472 total)
Maybe I'm missing something... but I don't see where that script generates that output.
The problem with displaying that data on one line is your Y/N on Ind3. You need...
November 4, 2008 at 1:26 pm
The base idea here is to boil this query down to its base elements and figure out everything that's causing issues. At this point, you'd start commenting out joins...
November 4, 2008 at 10:16 am
I can't see how that code would give you that error. This works fine:
DECLARE @b-2 nvarchar(50)
SET @b-2 = 'afeakfe;a-086'
SELECT CASE WHEN CAST(RIGHT(@b,3) as varchar(3)) =...
November 4, 2008 at 10:00 am
I knew something didn't look right with that STR function this whole time. I kept looking at it and ignoring it, then looking at it and ignoring it. ...
November 4, 2008 at 9:48 am
Ok, starting all the way at square 1. This *should* run.
If it does run, begin by uncommenting (removing the --'s) from the where criteria one line at a time....
November 4, 2008 at 9:34 am
Ok, continuing to try to isolate the error... try this one:
SELECT TOP 100
CASE
WHEN orig.orig_system is...
November 4, 2008 at 8:57 am
paul.starr (11/4/2008)
error is stillMsg 8114, Level 16, State 5, Line 1
Error converting data type nvarchar to float.
After running mine?
November 4, 2008 at 8:51 am
Now that I'm getting used to it (and occasionally begrudgingly adding my from clause before my select) it's working a little better. It's still pretty sluggish and occasionally annoying...
November 4, 2008 at 8:39 am
Please refer to the article in my signature for the proper way to post table DDL and sample data. Doing so will get you better, quicker answers.
November 4, 2008 at 5:36 am
Jeff Moden (11/3/2008)
It's amazing, even to me, how often that particular solution has been used, lately. Nice job, Seth. 🙂
When I read (and then later fully comprehended) the way...
November 3, 2008 at 6:26 pm
Jeff Moden (11/3/2008)
Only thing you might want to try, just to be empirically correct, is start out with GROUP = 0...
Have you ever actually talked to a Group 1?...
November 3, 2008 at 5:53 pm
Does this run? (I converted your query to use current JOIN syntax... hopefully I didn't mess it up. If I did, replace the FROM and WHERE with your...
November 3, 2008 at 4:22 pm
Greg Snidow (11/3/2008)
Garadin (11/3/2008)
Trying... to... resist...Gah.
Seth, I was rolling laughing at that. I'm a huge Dilbert fan, so any time I see 'Gah', it elicits strong images of Dilbert...
November 3, 2008 at 2:33 pm
Trying... to... resist...
Gah.
Jeff Moden explains this technique in his article located here:
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
If you don't read that article, make note of several things.
1. I added a clustered index...
November 3, 2008 at 2:11 pm
Viewing 15 posts - 1,171 through 1,185 (of 1,472 total)