Forum Replies Created

Viewing 15 posts - 50,821 through 50,835 (of 59,078 total)

  • RE: Create a Tally or Numbers Table

    And, yeah... you could call it "Numbers"... but I'm one of those old guys where the table name shouldn't be a plural... :hehe:

  • RE: Create a Tally or Numbers Table

    Michael Valentine Jones (5/1/2008)


    It's probably better to avoid using a reserved word, like INDEX, for a table name.

    Or "number" or "sequence" or... that's all part of the reason why I...

  • RE: splitting out a column

    Heh... no problems there, Ryan... it'll generate a million rows very quickly for performance testing, as well.

  • RE: questions for a sql test

    Although the last problem is correct, I can tell you that whoever wrote the test is probably looking for the outer join solution instead of the where not exists solution....

  • RE: Can't find a word in a string

    You've already got one... Books Online 🙂

  • RE: LITERAL STRINGS

    First, you might want to try asking your Oracle question on an Oracle forum... you'll usually get more correct answers that way... just a thought. 😉

    Second, Oracle requires you to...

  • RE: splitting out a column

    Here's a demo of what you can do in cases like this in both SQL Server 2000 and 2005... test data included...

    --drop table jbmtest

    --===== Create and populate a 1000 row...

  • RE: The T-SQL Quiz

    Having one of those "where's my porkchops and slingshot" days, Grant? 😀

  • RE: Restrict DBO user

    Personally, I don't allow developers to have write access to anything in production... violates all sorts of merchant agreements and PCI standards not to mention a total lack of...

  • RE: Create a Tally or Numbers Table

    Thanks, Barry... I've never heard of anyone else calling such aggregations a "Tally Table", but I certainly can see where the term both applies and is convenient.

    Just to throw another...

  • RE: Stored Procedure - which is faster/better?

    You don't actually need a numbered column using the TOP (XX) methods... just need a good set of indexes and the correct "sort".

  • RE: cursor through user databases the SEQUEL

    Ok... thanks... just trying to figure it all out... I think that's the last piece. I'll see what I can do tonight.

  • RE: DatePart Function

    Grant Fritchey (5/1/2008)


    Oops. Modulo 3.

    :blush:

    Heh... I've done the exact same thing... start thinking "Quarters", start writing "4's" 😀

  • RE: DatePart Function

    rbarryyoung (4/30/2008)


    Jeff Moden (4/30/2008)


    I'm curious... Why 4 months? That's a third of a year...

    That's probabrly why, Jeff. I did some work for an insurance company several years ago...

  • RE: DatePart Function

    I'm curious... Why 4 months? That's a third of a year...

Viewing 15 posts - 50,821 through 50,835 (of 59,078 total)