Forum Replies Created

Viewing 15 posts - 196 through 210 (of 284 total)

  • RE: Inserting a new row into a table by copying an existing one and changing the key(s)

    A few additional comments:

    • That's PDM (Pretty Damn Lazy) even for a programmer. You have to write out the columns - what? - ONCE and then save it. Cut and paste...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: Data as of that date listing all dates in a month.

    Here's a solution without UDFs, but it does take a Tally (number) table. Which, btw, mine starts at zero.

    DECLARE @myTable TABLE
    (
        DataDate DATETIME,
        DataVale...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: Double Select MIN()

    Um, I did it in one select, based on the example you posted.

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: The Other 90%

    Here I sit working on my $400 computer with OpenOffice, Firefox, Oracle Express, SQLExpress, NetBeans, and a host of other good software -- all free -- and I kinda wonder...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: Double Select MIN()

    declare @Table table (

    id int primary key,

    col1 int,

    col2 ...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: The Other 90%

    The trouble is, it is the 10% that has the money to spend on the cutting-edge products that provide the funds for the continuing R&D that makes the products better...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: Identity columns and primary keys in a many to many example

    Rule #1 in any rulebook: Exceptions exist!

    Primary keys: It is critically important to establish the natural key field(s) of a table. This is the foundation on which is built all...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: sql question using IN

    I've seen the article before and I had the same question then.

    Take the following query:

      select c1 from t1 where c2 = @value

    There is an index defined on c2....

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: sql question using IN

    I agree with the sentiment stated here...but I have one question. IN is poor, granted. But how is NOT IN any worse? You take the result of IN (true, false)...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: 10 Top 1 rows chosen at random

    I wasn't doubting the ability of NewID() to generate random results. Nor was I concerned with using it as you did in generating a random sequence of genre IDs for...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: Couldn''''t grab the data I want. Please Help.

    Your basic problem is that your data is corrupt. The ProdLoc table is an intersection (or "glue") table which implements a many-to-many relationship between the Product and Location tables (any...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: 10 Top 1 rows chosen at random

    Well, gee, so was I...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: 10 Top 1 rows chosen at random

    Jeff,

    You picked the wrong guy to use sports analogies on. How stupid is it it to hit balls against a fence while others try to catch them or for two...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: 10 Top 1 rows chosen at random

    How are you able to edit the quotes area? I'm not able to reach it when I quote a post.

    ------------------

    I am a believer in taking full advantage of the strengths...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

  • RE: 10 Top 1 rows chosen at random

    Whether or not Peter's specific solution disproves my general statement remains to be seen. How many RDBMSs will it work on?

    As for putting the work in the query. How shall...

    Tomm Carr
    --
    Version Normal Form -- http://groups.google.com/group/vrdbms

Viewing 15 posts - 196 through 210 (of 284 total)