Forum Replies Created

Viewing 15 posts - 3,481 through 3,495 (of 4,081 total)

  • RE: Conversion Fun

    Yeah that's what we had to do too. The cyborg got all bummed out about it and walked off muttering something about going into politics.

    😎

  • RE: updates

    Just as a matter of practice, you should probably have a lastUpdated column in your tables, as well as a dateCreated column, so that you can tell when each row...

  • RE: Conversion Fun

    Lucky you. I got the question wrong without even answering it.

    ME TOO !! 😛

    Has anyone else applied the latest HotFix to sp_MSGoBackInTime ??

  • RE: sql

    Metro, you need to put forth a little more effort, please. Work with us. Did you even TRY to do what I asked you to...

  • RE: Why INSER INTO ... UNION ALL?

    you may have your result being calculated in a cursor

    Oh no.... you said the "C" word !!! :w00t:

    Do you use cursors a lot, Aram?

  • RE: select * from sysobjects where name like '%sysconst%'

    You're welcome, VM.

    Flo, yes it's the wrong thread. I'm trying to figure out how I posted it here AND why I can't delete it now.

  • RE: how to check multiple combinations of a variable for null

    or use (gasp) COALESCE 😉

    select @searchvar = case when COALESCE(@var1,@var2,@var3) is null and @var4 is not null then 'RESULT' else '1' end

    But we believe the OP is trying to use...

  • RE: sql

    Then why are you using IN? All you need is equals.

    AND

    Table3.col11 = @inputParam

    At this point it would be very nice to have some data. ...

  • RE: How to handle empty return

    PS

    is it at all possible to modify that logic for multiple records to handle an "empty return" ?

    That was the original question and that's what the examples from Jeff...

  • RE: sql

    Here is an alternative to dynamic SQL. The code at the bottom will quickly parse a delimited list of values out of an input parameter for you. ...

  • RE: Why INSER INTO ... UNION ALL?

    I'm currently investigating SQL Server 2008...

    No problem. But if you are asking questions about 2008, there is a separate forum for that 🙂

    SS2k5 == SQL Server 2005.

  • RE: Why INSER INTO ... UNION ALL?

    POST PostScript:

    Row Constructors [ex: Values (1,'hello'), (2,'hello')] are new to 2008.

    Be mindful that you are in a 2005 forum.

  • RE: Why INSER INTO ... UNION ALL?

    Flo,

    I'm afraid I'm unable to duplicate your results. I'm comparing an insert into/SELECT ... union all against a insert into VALUES for 1000 rows. ...

  • RE: select * from sysobjects where name like '%sysconst%'

    Flo,

    I'm afraid I'm unable to duplicate your results. I'm comparing an insert into/SELECT ... union all against a insert into VALUES for 1000 rows. ...

  • RE: How to handle empty return

    I notice the MIN function, JA. Can you make it work with multiple rows?

Viewing 15 posts - 3,481 through 3,495 (of 4,081 total)