Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 7,636 total)

  • RE: CLR Funtions

    manoj2001 (5/15/2009)


    Hi All,

    i want to ask you one question to all expertise who are using 2005 with CLR.

    Is there any performance problem you are facing while using your SPs Functions...

  • RE: Are the posted questions getting worse?

    Paul White (5/14/2009)


    Bob Hovious (5/14/2009)


    Hey Bruce and Paul... how is life in New Zealand? Where do you each live again? Bruce, you're on the North Island...

  • RE: Performance Monitor Counters

    fjmorales (5/14/2009)


    Hi everyone!

    I have this explanation for the counter % IDLE TIME from Steve Choy :

    % IDLE TIME = This measures the percentage of time the disk was idle...

  • RE: Calculate STD for non-numeric expressions

    bc (5/14/2009)


    perhaps give each answer a point value.

    if question 1 has choices A B C D, then value them as 1 2 3 4 and do your calculations on the...

  • RE: Dynamic SQL SELECT Query has UDF's as Tables in the FROM Clause

    Well one thing that jumped out at me right away was this:

    Lee Hart (5/14/2009)


    ...'(

    @Tech_Spec is null OR

    @Tech_Spec = Tech_Spec

    )AND

    (

    @Product_Category is NULL OR

    @Product_Category = SMSSelectorGuide.[Product Category (Legacy)]

    )AND

    (

    @nonCommissonFilter...

  • RE: Queries running slower in SQL 2008 than in SQL 2000

    Jeff Moden (5/4/2009)


    Frank Carrelli (5/4/2009)


    I found my issue that was causing my slow running queries. It appears the Coalesce statements...

    How serendipitous... I've recently made that same discovery with doing things...

  • RE: User-defined, Database-level constant: is there a 'best' technique?

    If you have a *very* small number of constants and their speed is *really* important, then you could make a constant scan in a View or an inline Table-Valued function.

    A...

  • RE: Should data and log files be on separate physical disks?

    Malcolm Daughtree (5/14/2009)


    ... There is a technical reason why Data and log files should be on a separate physical hard drives. And its not cost or performance it...

  • RE: Gen Bogus SSNs?

    Actually, here's a method that will give you fairly "pseudorandom" SSNs, but always distinct:

    Declare @P as Decimal(17)

    Declare @s-2 as Decimal(17)

    Select @P = 613452691, @s-2 = 1000000000

    ;WITH cteenroll as (

    Select *

    ,...

  • RE: Gen Bogus SSNs?

    GSquared (5/14/2009)


    RBarryYoung (5/14/2009)


    ...And you didn't get any duplicates? That's very suprising. Hmm, maybe my geusstimation is wrong...

    Barry, this version can't have duplicates. It's a primary key. ...

  • RE: maintaining share point databases

    klnsuddu (5/14/2009)


    What do you want to accomplish by adding more files? What other drives do you have available to you?

    Because the content database size is 70 GB now and it...

  • RE: When to use stored procedures

    Heh. Nice...

  • RE: Where clause on converted datatype

    Glad I could help.

  • RE: Gen Bogus SSNs?

    GSquared (5/14/2009)


    If you base it on time, if you do the query too fast, you'll end up with duplicate values.

    ...

    This will generate 5-million unique fake SSNs.

    set nocount on;

    create table #SSNs...

  • RE: Gen Bogus SSNs?

    Michael Valentine Jones (5/14/2009)


    This will update your SSN column with 9 digit SSN numbers.

    update MyTable

    set

    ssn = right(convert(bigint,convert(varbinary(7),newid())),9)

    Michael: because you are truncating the ID to 9 digits, I do not think...

Viewing 15 posts - 2,386 through 2,400 (of 7,636 total)