Viewing 15 posts - 196 through 210 (of 532 total)
The Dixie Flatline (7/22/2010)
July 22, 2010 at 4:48 pm
Jeff Moden (7/22/2010)
July 22, 2010 at 3:41 pm
chandrakala.shetty (7/22/2010)
July 22, 2010 at 2:52 pm
I'm not sure, but I'm thinking that you might be breaking up the statements into separate IF blocks to filter data rather than actually having a separate query. If...
July 22, 2010 at 2:45 pm
I really don't understand what you're asking. To do the inserts is simply:
insert into clientvendor (clientid, vendorid)
select 2, 2 union
select 2, 3
Normally you would have some sort of front...
July 22, 2010 at 2:02 pm
Looking at this more ... I think he's trying to run this from another database. I'm guessing this is all he's trying to do:
CREATE PROCEDURE usp_proc_d_zone AS
IF EXISTS (SELECT...
July 22, 2010 at 1:55 pm
Will this always be performed in the same database?
July 22, 2010 at 1:39 pm
MegaDBA,
I don't understand your response. If you don't want honest feedback then you shouldn't plop down hundreds of lines of code and ask for feedback. If you do...
July 22, 2010 at 1:18 pm
What exactly is your question?
July 22, 2010 at 12:17 pm
Paul White's sans formatting (since you're doing that at presentation) would just be:
SELECT case_number,
fee_percent,
fee_portion,
settle_amount = CASE ROW_NUMBER() OVER(PARTITION BY case_number ORDER BY case_sk)
WHEN 1 THEN settle_amount
ELSE 0 END,
initials
FROM #test
ORDER ...
July 22, 2010 at 11:05 am
Dell XPS M1730 ... nothing like running SSMS with SLI enabled!
July 21, 2010 at 7:51 pm
I've long had a theory that you can either be an *** or you can be wrong, but nobody can get away with being both.
I know some people here are...
July 21, 2010 at 7:48 pm
This is really inefficient. If you are still looking for help, provide a table definition and some sample data as well as an example of the data you would...
July 21, 2010 at 6:24 pm
Ok ... I got to say this ...
The first baseman for the Orioles deserves whatever bad karma is going to come his way. If you're in the major leagues...
July 21, 2010 at 6:12 pm
TonyK_Ga (7/21/2010)
I am getting invalid column name PKCol after Table 1 and Table 2 with the actual table names.
What is PKCol? is this the primary...
July 21, 2010 at 6:04 pm
Viewing 15 posts - 196 through 210 (of 532 total)