Viewing 15 posts - 631 through 645 (of 5,504 total)
shahgols (2/10/2012)
You got great points Rob, thanks for that!And thanks for your response Burninator. Are you guys allowed to use USB or connect your cell phones to your PCs?
USB...
February 11, 2012 at 2:34 am
Here's a slightly different approach using a in-line table-valued function (itvf).
I don't know if it will even compile since I have nothing to test against (your sample data require a...
February 10, 2012 at 11:07 am
You could try to run the two statements in reverse order.
I'm confident "all of a sudden" the query running "fast" in the beginning will be the "slow" one.
What is the...
February 9, 2012 at 3:06 pm
Depending on the layout of your SAN it might be an option to move tempdb to a LUN based on more than one spindle dedicated to tempdb only. Or maybe...
February 9, 2012 at 1:06 pm
I'm not sure if I understand correctly what you're looking for.
If it's just to avoid to display the data in SSMS, you could use the following approach:
open a new query...
February 9, 2012 at 12:28 pm
As per my knowledge there's no way to "ensure data are secure". You could allow dev to only access views instead of tables and use "TOP x" inthe view definition....
February 8, 2012 at 1:07 pm
Something like this?
Update mytable
Set [A-Name]=CASE WHEN [A-ID] IS Null THEN null ELSE [A-Name] END,
[B-Name]=CASE WHEN [B-ID] IS Null THEN null ELSE [B-Name] END
...
As a side note: Ihope the column names...
February 8, 2012 at 12:42 pm
Koen Verbeeck (2/7/2012)
Evil Kraig F (2/7/2012)
Koen Verbeeck (2/7/2012)
Lynn Pettis (2/7/2012)
Kassondra gave birth to a healthy baby boy yesterday...
February 7, 2012 at 3:03 pm
First of all, I'm very sorry it took me so long to understand what you're looking for. :blush:
I guess I got it now.
the adjustment I made to my previous code...
February 7, 2012 at 1:07 pm
I'm still not sure how the expected results can be calculated (e.g. 07/01/2012 WC 1).
So I post what I have so far:
;
WITH cte_range AS
(
SELECT
CAST (MIN(datewardchange_dte) AS date) min_datewardchange_dte,
DATEDIFF(dd,MIN(datewardchange_dte),Max(datewardchange_dte))...
February 6, 2012 at 3:00 pm
Why does CCU has a count of 1 for Jan'08 but WC doesn't show 1 for Jan'06?
February 6, 2012 at 2:24 pm
Can you please verify that your expected results are based on the sample data?
Example:
I find only one row for ward='BB' that would match Jan'06. Why does your expected result needs...
February 6, 2012 at 1:54 pm
Joe Contreras-290946 (2/4/2012)
I figured it out. Using a type of Extract functionality to retrieve nodesThanks,
Would you mind sharing your solution so others may benefit?
February 4, 2012 at 6:15 am
Duplicate post. No replies please.
Original post: http://www.sqlservercentral.com/Forums/FindPost1245459.aspx
@deepikamm: Is there any specific reason for starting a new thread with the very same question?
February 4, 2012 at 4:42 am
What would be your expected result based on the sample data?
What do you want to achieve by "fetching" the ProdId?
February 4, 2012 at 4:35 am
Viewing 15 posts - 631 through 645 (of 5,504 total)