Forum Replies Created

Viewing 15 posts - 676 through 690 (of 920 total)

  • RE: Changing column order in Table

    Jeff,

     

    Code wouldn't show it.  My rememberance of this may be rusty so more knowledgeable folks should please jump in if I mis-state this, but internally, for each row, the fixed...


    And then again, I might be wrong ...
    David Webb

  • RE: Responsibility

    I can't speak for what corporations should or shouldn't do because in the end, it all comes down to what people should or shouldn't do.  In some cases those people...


    And then again, I might be wrong ...
    David Webb

  • RE: Alternative solution of quer !!!

    The 'group by' clause should go after the 'where' clause.

     

    INSERT INTO PHONE_NUMBER_LIST (PHONE_NUMBER,PHONE_MODEL,LANG_PREF)


    And then again, I might be wrong ...
    David Webb

  • RE: Changing column order in Table

    Based on basic relational theory, there's no guarantee that 'select *' will always bring columns back in the order defined.  The ordering of columns in a relational table should have...


    And then again, I might be wrong ...
    David Webb

  • RE: Changing column order in Table

    Why would you want to do this?  Normally, the column order in a relational database should have no meaning.  You select columns in the order you want to see them. ...


    And then again, I might be wrong ...
    David Webb

  • RE: Query for duplicates

    How are you joining the 2 tables?  There doesn't appear to be a common data element.


    And then again, I might be wrong ...
    David Webb

  • RE: Urgent-help

    Did you do a complete overwrite, or did it do an upgrade?  Are your other databases gone or did they upgrade.

    I don't believe you can back up a 2005 database...


    And then again, I might be wrong ...
    David Webb

  • RE: Getting the LATEST DATE in the table

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    CREATE PROCEDURE GetLatestDate

    (@UserName VARCHAR(50)

    AS

    SELECT Max(Deadline)

    FROM CustomerItems


    And then again, I might be wrong ...
    David Webb

  • RE: Replacing part of a character datatype

    Check the parens on the length subtraction.  I think it's trying to subtract 10 from the acct_id, not the length).  Maybe should be:

    (Len(acct_id)-10)),


    And then again, I might be wrong ...
    David Webb

  • RE: Replacing part of a character datatype

    Use the '+' instead of the '&' as the concatenation operator.  That should get you pretty close.


    And then again, I might be wrong ...
    David Webb

  • RE: Datatype for calculations

    Read up on float before you decide.  Float is an "approximate" data type and not always the best choice for the manipulation of real money.  I'd use numeric and specify...


    And then again, I might be wrong ...
    David Webb

  • RE: SQL Server Taking excessive memory

    Unless you specifically limit it, the SQL Server will take whatever memory it needs, up to and including everything the server has.  If you have a lot of other things...


    And then again, I might be wrong ...
    David Webb

  • RE: Recursive query to catch all relationships

    You, Sir, are a fine and shining example of the best of this forum and I owe you at least a beer if we meet up at a conference.

     

    Thanks a...


    And then again, I might be wrong ...
    David Webb

  • RE: Stored Procedures: 2005 to 2000

    For SQL Server 2000, you can use sysobjects but not sys.objects.

    The NULL problem probably shows up because you have 'quoted_identifiers' turned on so anything in double quotes is parsed as...


    And then again, I might be wrong ...
    David Webb

  • RE: Stored Procedures: 2005 to 2000

    What error message are you getting?  There are new functions in SQL Server 2005 that won't be backward compatible for SQL Server 2000.

    Can you post the first few lines of...


    And then again, I might be wrong ...
    David Webb

Viewing 15 posts - 676 through 690 (of 920 total)