Forum Replies Created

Viewing 15 posts - 766 through 780 (of 851 total)

  • RE: Are the posted questions getting worse?

    Bob Hovious (2/4/2009)


    I just have to blink and be the first to ask.

    Is this thread dead?

    [font="Verdana"]Dunno about the others, but I've been getting therapy.[/font]

  • RE: How to add multiple columns into a new column

    [font="Verdana"]Try something like:

    substring(

    case when dbo.BOCleared.DDS is null then '' else ', ' + dbo.BOCleared.DDS end +

    case when dbo.CTCleared.DDS is null then ''...

  • RE: Need to convert Datetime field

    [font="Verdana"]Are you displaying this in a reporting services report? Because if so, you can return the actual datetime value, and then change the field format on the report so...

  • RE: Mulitple Optional parameter SP

    raohtheconquerer (2/4/2009)


    Ok! I guess that the union would gradually degrade depending on how many parameters i'd have to string together?

    [font="Verdana"]Not necessarily. It depends on your hardware and the version/edition...

  • RE: Programatically access newsequentialid()

    [font="Verdana"]Ah, that makes sense!

    You could always do the "sixth normal form" thing, and have a related table into which you fill in the GUIDs as/when you need them (as distinct...

  • RE: Mulitple Optional parameter SP

    [font="Verdana"]Just a reminder: if you know that the lists (record-sets, sets, terminology of your choice) that you are combining don't have values in common, use union all, not union to...

  • RE: IDENTITY_INSERT Issue

    [font="Verdana"]Good.

    I had a think over this last night, and realised you could simplify it a little by using case. So that would change the psuedo-SQL to look something like...

  • RE: Need to convert Datetime field

    [font="Verdana"]I'd suggest you start with the datepart function. Look it up in SQL Server Books Online (BOL).[/font]

  • RE: statement runs very slow what have I done wrong or what could I change to make it better

    [font="Verdana"]Wow! I have to say reading through the responses and the amount of time people are taking to look at this, I am seriously impressed! Some good, thoughtful...

  • RE: Staging table population

    [font="Verdana"]It can depend on the indexes on the table you are inserting into as well. If it is heavily indexes, this will slow down the insert.

    Try dropping all but...

  • RE: Strip off the trailing periods for me will ya?

    [font="Verdana"]Would a pattern that says "not a period followed by a digit" work? (er, [^.0-9].) Regular expressions are always fun![/font]

  • RE: Date Function

    [font="Verdana"]Mine would be:

    selectconvert(varchar(6), getdate(), 112)

    [/font]

  • RE: Not able to Concatenate lastwaittype column in sysprocesses

    [font="Verdana"]Just a reminder. If one of the column values is null, then "null + 'Test String'" will return null.[/font]

  • RE: A Good book for Business Intelligence Reporting

    [font="Verdana"]I'm a little confused by the question.

    Business Intelligence (BI) is a label for a group of people and products working together to produce the information (i.e. data with meaning) that...

  • RE: Adding column values together

    [font="Verdana"]be a little careful here. You could well get different behaivour depending on what you actually want.

    For example, if you have three values, A, B, C, and they are...

Viewing 15 posts - 766 through 780 (of 851 total)