Forum Replies Created

Viewing 15 posts - 54,631 through 54,645 (of 59,078 total)

  • RE: Generating Dates

    That nice little cross-join you included as a derived table sure did the trick.

  • RE: Converting a FoxPro Procedure to SQL

    Now, that's what I'm talking about! Nice job, Kirk!! And, thanks for posting your solution! 😀

  • RE: Filling in numbers

    You bet... thanks for the feedback, Greg.

  • RE: is this a good trigger?

    No, no... Unless I'm totally misreading this, a good ol' fashioned partitioned view will do all of that without the overhead of triggers and the extra table. It'll be...

  • RE: BCP Utility for Data Copy

    You don't? :blink: There's an example of what the input file looks like, what the table looks like, what the BCP format file looks like, and what the...

  • RE: I just want to do my job !

    See attachment... 😉

  • RE: I just want to do my job !

    Yeah... that's it...

  • RE: I just want to do my job !

    Yeck!

  • RE: Converting a FoxPro Procedure to SQL

    No, no.... the overhead of a cursor is not required here. Take my previous suggestion and find out how to build a recursive CTE to resolve these types of...

  • RE: complex select problem w history tables, date ranges

    Jeff Moden (10/11/2007)


    Looks like any decent HTML editor or a Word macro to change spaces to the literal "&nbsp" (without the quotes) will do the trick.

    Sorry folks... I didn't check...

  • RE: problem with query...

    Heh... thanks, Marcus. Most folks keep that type of info in two separate columns...

    So, are you all set or do you still need help?

  • RE: complex select problem w history tables, date ranges

    Looks like any decent HTML editor or a Word macro to change spaces to the literal "&nbsp" (without the quotes) will do the trick.

  • RE: complex select problem w history tables, date ranges

    Just a test... please ignore...

    FIGURE 1: Tally Table Code

    [font="Courier New"]

    drop&nbsptable&nbsptally

    --=====&nbspCreate&nbspand&nbsppopulate&nbspthe&nbspTally&nbsptable&nbspon&nbspthe&nbspfly

    &nbspSELECT&nbspTOP&nbsp11000&nbsp--equates&nbspto&nbspmore&nbspthan&nbsp30&nbspyears&nbspof&nbspdates

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspIDENTITY(INT,1,1)&nbspAS&nbspN

    &nbsp&nbsp&nbspINTO&nbspdbo.Tally

    &nbsp&nbsp&nbspFROM&nbspMaster.dbo.SysColumns&nbspsc1,

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspMaster.dbo.SysColumns&nbspsc2

    --=====&nbspAdd&nbspa&nbspPrimary&nbspKey&nbspto&nbspmaximize&nbspperformance

    &nbsp&nbspALTER&nbspTABLE&nbspdbo.Tally

    &nbsp&nbsp&nbsp&nbspADD&nbspCONSTRAINT&nbspPK_Tally_N&nbsp

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspPRIMARY&nbspKEY&nbspCLUSTERED&nbsp(N)&nbspWITH&nbspFILLFACTOR&nbsp=&nbsp100

    --=====&nbspAllow&nbspthe&nbspgeneral&nbsppublic&nbspto&nbspuse&nbspit

    &nbsp&nbspGRANT&nbspSELECT&nbspON&nbspdbo.Tally&nbspTO&nbspPUBLIC[/font]

    Test complete... regard all further alarms 😀

  • RE: complex select problem w history tables, date ranges

    Just doing some formatting tests... please ignore the following post...

  • RE: Dates Stored Procedure

    Heh... what'cha gonna use it for? Forget about using it for batch programming... better be RBAR GUI code only (RBAR is pronounced "ree-bar" and is a "Modenism" for "Row...

Viewing 15 posts - 54,631 through 54,645 (of 59,078 total)