Forum Replies Created

Viewing 15 posts - 1,426 through 1,440 (of 2,007 total)

  • RE: Searching smallest unused number

    damirmi (10/31/2011)


    @Cadavre

    Thank you very much this helped me a lot, it works perfectly.

    P.S.

    Next time I ask a question I will try to follow forum rules.:-D

    More "guidelines" than "rules". They...

  • RE: How to Get Month Using Given two Dates

    codebyo (10/31/2011)


    No problem. 🙂

    If you need all possible months between two dates you could use something like this:

    DECLARE @STRING VARCHAR(500),

    @DATE1 DATETIME,

    ...

  • RE: SQL Server Code name

    Thomas Abraham (10/31/2011)


    I definitely can see both sides of that way of thinking. Pride makes you want to be able to answer a question from your own memory/knowledge. I get...

  • RE: Help Appreciated

    Hello and welcome to SSC!

    It seems that your DDL script has become detached from your post, or perhaps you were unaware of the benefits of providing one.

    When you have time,...

  • RE: How to Get Month Using Given two Dates

    farooq.hbs (10/31/2011)


    Hi All,

    I need a help on date Diff Concept..

    I want to get the Month Number of...

  • RE: 2 number subtraction in ssis

    Thomas.s (10/31/2011)


    hi

    i m having table like this

    empno ename sal

    1 kkk 21000

    2 ...

  • RE: first attempt at automated backup plan

    Knocked this up in a couple of minutes. It's based off what I remember from my previous job, in my new job I'm strictly a developer so I don't perform...

  • RE: SQL Server Code name

    Had no idea, took a random stab in the dark and got it right 🙂

    phil.wood 94423 (10/31/2011)


    How is knowing this going to help me in my career?

    Please let's avoid pointless...

  • RE: Retrieve Time from DateTime (2005)

    SELECT DATEADD(dd, DATEDIFF(dd, 0, @OrigDT), 0)

    --EDIT-- Mis-read your post, the above removes the time from a datetime. Should have been like the below

    SELECT DATEADD(dd, 0-DATEDIFF(dd, 0, @OrigDT), @OrigDT)

  • RE: PLease help with a count problem

    emdavies82 (10/27/2011)


    Thanks so much so it should be like this:

    SELECT COUNT(Address_Line_1) AS EXP2, (Post_Code)AS Expr1, Address_Line_1

    FROM Pers_Static_Personnel_History

    GROUP BY...

  • RE: Help needed getting summary by weeks of current month

    iluvmyelement (10/26/2011)


    When pulling data, I need to summarize totals by Week of the current month.

    e.g. if the 1st of the current month falls on a Wednesday, Week 1 would be...

  • RE: Clever concatination

    Ninja's_RGR'us (10/26/2011)


    Cadavre (10/26/2011)


    Ninja's_RGR'us (10/26/2011)


    You can try with

    FOR XML PATH.

    I've seen that suggested in the past. I don't have a full understanding of what it does so I recommend...

  • RE: Clever concatination

    Ninja's_RGR'us (10/26/2011)


    You can try with

    FOR XML PATH.

    I've seen that suggested in the past. I don't have a full understanding of what it does so I recommend you read...

  • RE: Database Free Space Sp_spaceused

    Ninja's_RGR'us (10/26/2011)


    NP.

    Was what so important in that meeting that could make this unbeknownst guy wait for his answer! 😀

    You should talk to the authorities about that!

    heh. I'll attend by...

  • RE: Clever concatination

    phual (10/26/2011)


    Both do the job nicely and are MUCH simpler than anything I was coming up with (although the second has the consequence that it converts 'fish; & ; chips'...

Viewing 15 posts - 1,426 through 1,440 (of 2,007 total)