Viewing 15 posts - 34,891 through 34,905 (of 59,099 total)
It's actually not the same result. The answer would appear in one or the other column depending on the bit map. Now, WHY they needed it that way,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:49 pm
Kevin Feasel (2/14/2011)
This is a just-so story that I'm coming up with, but it sounds like it makes sense, at least to me... 🙂
I don't know about it being...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:30 pm
george.frewin (2/18/2011)
thanksI am now getting stuck into SSIS 🙂
To put a different slant on it, I think that SSIS is overkill. 😉 A nice, short, sweet BULK INSERT does...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:22 pm
SQL_Student (2/18/2011)
I am truly my own teacher... I got it to work:w00t:
select code, MAX(effective_date) as eff_date
from LIST_PRICES
group by CODE
having MAX(EFFECTIVE_DATE) > 0
Well done! I love it when folks science...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:19 pm
If you have a session that created a Temp Table, just do the following without closing the session and without changing sessions (windows in SSMS)...
EXEC TempDB..sp_help #nameoftemptable
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:11 pm
I'll also add that if you use ISNULL as the final "step" in any of the column derivations, it will create a NOT NULL column in the Temp Table.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:03 pm
As a bit of a sidebar... what happens when one of your team members changes her name due to marriage? What happens when you have two people employed with...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 4:01 pm
Gadgetman Stewart (2/27/2011)
I understand your point about ExecuteScalar() will only "see" one result set, so indeed if my SP contains:-
BEGIN TRY
DECLARE @s-2 INT;
SET @s-2 = 1/0;-- Cause an...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 3:48 pm
Let's look at it another way. When would you NOT check either table of Notes? I suspect the answer is that you'd always have to check both which...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 3:38 pm
Craig Farrell (2/27/2011)
Jeff Moden (2/27/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 3:26 pm
Heh... thanks for the feedback, ZA. Most people don't get the pun built into that particular table name. 😛
Just as a reminder and a friendly suggestion... the method I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 2:36 pm
LutzM (2/27/2011)
i have deadline on monday and if i dont complete it ,i will...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 2:28 pm
daveriya (2/27/2011)
@jeff,well dear,if u dont wanna to help me,just stay out of this matter,i dont mind.
i am not begging u ,to help me
thank u
Heh... first, don't call me "dear". ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 2:10 pm
As of 2005 (IIRC), Bulk Insert (and BCP since way back when) will let you identify an errata file to save errored rows in. You simply tell Bulk Insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 2:05 pm
daveriya (2/27/2011)
hiHow can we check that the consolidated tables were generated correctly?
Is there any tool in SQL?
thanks
You do this by making sure that the code that generated...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2011 at 2:01 pm
Viewing 15 posts - 34,891 through 34,905 (of 59,099 total)