Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Virtual tally table function

    The TallyFromTo listing posted above on 7/25/2013 does allow for negative numbers, and also allows a choice of direction. I did not check the timing, but I guarantee it is...

  • RE: Virtual tally table function

    Here is a slightly altered version that will print results between (and including) any two integers, forward or backward. I also included the row number, since it is often useful.

    ...

  • RE: Display multiple rows values as single row value

    In the original posting, the query should be

    SELECT @listValues = ISNULL( @listValues + @delimeter,'') +

    ISNULL(FirstName,'')

    ...

  • RE: birthdate as a non date field

    If the birthday is being recorded to support birthday event planning, where the year (age) may be "sensitive" to some, then you can use a datetime field, setting the year to...

  • RE: Pass atemp table

    You can pass the table name as an argument to the lower SP.

    In the calling SP -

    create table dbo.#temp (resultField int)

    exec dbo.calledSP @dataValue, 'dbo.#temp' 

    select * from dbo.#temp

    The called procedure -

    CREATE PROCEDURE dbo.calledSP...

Viewing 5 posts - 1 through 5 (of 5 total)