Viewing 15 posts - 42,196 through 42,210 (of 59,067 total)
naveenreddy.84 (8/21/2009)
Thanks!!! but this works only for the value of seq 111
Will it work for seq like 110, 101, 001,011? when the resid 2 is removed, the final...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2009 at 4:37 am
smknox (8/20/2009)
The reason I was adding a date from one column to the time of another column is because: This is a medical application and one surgical procedure...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 11:46 pm
"You can lead a horse to the water..."
http://www.sqlservercentral.com/Forums/Topic774023-149-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 10:35 pm
Heh... you say you understand, but I just can't bring myself to show you how to do it wrong, Paula. Sorry...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 10:31 pm
Very cool... that pretty much explains it and it allows me to test my code for you. This will do it.
DELETE FROM Table1
WHERE AID ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 10:18 pm
paula (8/20/2009)
That's ok. I really really want it to work. I have been working on it for ages and would really appreciate it if you could.Thank you so much!!!
Are you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 10:05 pm
By the way... do all the tables that match the pattern have an identical structure and identical column names?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:57 pm
grover (8/20/2009)
Is this a far reaching request and can this even be done efficiently in SQL or should I look elsewhere?
Uh... and where would you look? 😉 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:52 pm
Matt (8/20/2009)
I want to change a column in one of my tables from ntext to nvarchar(max), I was just wandering if there is likely to be any kind of data...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:47 pm
paula (8/20/2009)
Thank you so much for spending the time to do that. Can I ask you for one more favour? Can you get the code I wrote to work also?
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:45 pm
Sorry... I left out one "%" wildcard in the code above... I've fixed the code above.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:33 pm
paula (8/20/2009)
I'm sorry. But I am a bit lost here. I think I need the sum aggregate function. I don't think max will give me what I'm looking for.
I understand...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 9:28 pm
Alright... give me a bit and I'll show you how to do the pre-aggregated cross tab from the article link I just posted. It'll also improve performance drastically.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 8:05 pm
WilliamB (8/20/2009)
You need to include your CASE statements in your group by clause for your query to work. eg:
SELECT TOP 10
[VOLUME] = count(1),
[ISVALID] =
CASE BOT_DR_CLIENT_NO
WHEN 1 THEN 'YES'...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 8:03 pm
"Rounding" doesn't mean the same thing as "Formatting" and how ROUND displays a result really shouldn't matter... formatting should be done in the GUI especially on date, time, and currency...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2009 at 7:58 pm
Viewing 15 posts - 42,196 through 42,210 (of 59,067 total)