Forum Replies Created

Viewing 15 posts - 10,381 through 10,395 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    Lynn Pettis (3/19/2009)


    Okay, I can use stuff((select ', ' + cola from dbo.table1 t1 for xml path ('')), 1, 2, '') but I sure can't explain the how's and why's....

  • RE: Concatenating field values in one string

    Stuff gets rid of a preceding comma at the beginning of the string. That's all. Try the query without it, and you get:

    , John, Josh, Bob

    The Stuff command,...

  • RE: Identical columns in clustered and non-clustered index

    The querying against this table is heavliy balanced towards queries against single records .... however the index DMV's show the non-clustered index getting most of the seeks, when i would...

  • RE: Need a function to compare strings.

    Try this, see if it'll give you what you need. Returns the number of differences between the strings. I don't have time to finalize it right now, but...

  • RE: Looking for SSIS project ideas

    I generally use SSIS to move data around. Into and out of databases.

    Perhaps you could do something with exporting data out of the system databases into Excel? Not...

  • RE: Too much backup?

    Might cause issues for disk space, but it's not like it's going to wear out the databases.

  • RE: Exctracting string Issue

    You seem to be trying to select the data between // and \\. Is that correct?

    If so, then try this:

    declare @UserName varchar(max);

    --

    SET @UserName = '03/12/2009 07:48 PM ...

  • RE: Exctracting string Issue

    I just ran your code on my machine. It looped 87 times in less than 1 second, and then stopped. No infinite loop. Did I misunderstand that...

  • RE: Code Formatting

    RBarryYoung (3/19/2009)


    GSquared (3/18/2009)


    Won't make the difference in a proportionate font, Jack.

    True, but code should not be formatted in a proportional font, for this very reason.

    Yep. Exactly.

  • RE: Are the posted questions getting worse?

    Derek Dongray (3/19/2009)


    Bob Hovious (3/19/2009)


    I will try to dig up the Documentation of the undocumented parameters and try to figure out the correct order even if it takes a life...

  • RE: Stored Procedures

    lee.pollack (3/19/2009)


    please remember that my company is still using sql2000 - so WHILE does not exist for me

    "While" works in SQL 2000. Used to use it all the time...

  • RE: How to increase DTS package limit in Sql Server 2005 .

    Then the SSIS package isn't set up correctly, or there's something wrong with the Excel sheet.

  • RE: Avoiding injection on stored procedure

    Don't use dynamic SQL for this kind of thing. Use a string parser to break up the list of values into a table.

    That's kind of already been said here,...

  • RE: SQL Agent Job Step

    It means the job is protected from alteration while it's running. Means you'll get an error message if you try to modify it "in flight".

    Basically, it's meant to protect...

  • RE: How to increase DTS package limit in Sql Server 2005 .

    Then it's probably either something wrong with the Excel file, or the Jet section of the registry on the machine you're running the SSIS package on.

    Try running the import on...

Viewing 15 posts - 10,381 through 10,395 (of 14,953 total)