Viewing 15 posts - 3,031 through 3,045 (of 6,486 total)
Have you tried getting rid of the correlated sub-query? That's bound to be hurting you.
Select
...
June 5, 2008 at 10:48 am
ageuni (6/5/2008)
June 5, 2008 at 9:28 am
Gwen (6/5/2008)
June 5, 2008 at 8:32 am
Considering it's a test - you're going to need to do most of the work.....
That being said - you're going to want to look up the SQL 2000 "method" for...
June 5, 2008 at 8:17 am
okkko -
I think Jack didn't include the part where he specifically built a "changelog" table somewhere. It actually looks like there's a utility database called dblog where he's...
June 5, 2008 at 7:59 am
Gwen -
Your Pivot is doing a grouping by propertyID AND usecode, which is wrecking your "alignment". pull the usecode and price out (leave them in the combined), and...
June 5, 2008 at 7:52 am
Rama (6/5/2008)
I have temp table #temptbl with two columns
I am inserting into two column by calculating some formula with exec.
INSERT INTO #TEMPTBL (formula,final_formula) EXEC ('SELECT...
June 5, 2008 at 7:18 am
Dugi (6/5/2008)
June 5, 2008 at 6:46 am
noeld (6/4/2008)
Matt Miller (6/4/2008)
Rut...
June 4, 2008 at 3:51 pm
I'd make sure to test that on a 2000 box. the sp_helpText returns something entirely different for sp_AddExtended in 2005. There's no mention of sysProperties.
Rut roh....looks a bit...
June 4, 2008 at 2:12 pm
Since you have lots of parameters to pass - I would probably look up "ADO Command" and get really familiar with it. There's a fair amount of readily available...
June 4, 2008 at 1:57 pm
Michael Earl (6/4/2008)
June 4, 2008 at 12:45 pm
Jeff Moden (6/4/2008)
June 4, 2008 at 12:40 pm
david.burrows (6/4/2008)
June 4, 2008 at 12:27 pm
Or - if you need multiple groups - it might look something like this:
SELECT t1.k1,
STUFF((SELECT ','+cast(t2.itemnum as varchar(20))
...
June 4, 2008 at 11:48 am
Viewing 15 posts - 3,031 through 3,045 (of 6,486 total)