Forum Replies Created

Viewing 15 posts - 8,551 through 8,565 (of 9,641 total)

  • RE: Removing Referential Integrity for Performance?

    I agree with Grant with the addition that DRI is one of the main purposes of an RDBMS system so it should do the job at least as efficiently as...

  • RE: Help with Trim

    rbarryyoung (5/22/2008)


    Nice job, Jack. This could serve as a textbook example of how to provide technical support.

    Thanks for the nice words. I found this interesting because I had...

  • RE: A Worthwhile Goal

    ntaylor (5/22/2008)


    Jeff Moden (5/21/2008)


    Consistency didn't stop 20 inch wheels from coming out nor has it prevented the use of 13" wheels on some small cars.

    If consistency was considered more important...

  • RE: Writing

    Jeff Moden (5/21/2008)


    David Burrows (5/21/2008)


    Keep think about submitting something but can't think of anything that ain't already been done 🙁

    ...

    I saw one article by a fellow recently. He...

  • RE: Insert to vfp tables

    Can you post an example of a working select?

  • RE: Help with Trim

    DBA (5/21/2008)


    so say I have this in my table

    'ComputerAA1'

    and someone tries to insert this

    'ComputerAA1SPACE' --they will get a duplicate error for the constraint

    but if they try to insert...

  • RE: Help with Trim

    DBA (5/21/2008)


    would the RTRIM function also get rid of the whitespaces like tab?

    No. From BOL:

    RTRIM - Returns a character string after truncating all trailing blanks.

    Tabs, etc... are not...

  • RE: Help with Trim

    DBA (5/21/2008)


    I get an empty set when running your query.

    My fault on the empty set. In the Object_ID function you need to schema qualify the table and then...

  • RE: Help with Trim

    Okay that is good. It means your database was setup to be case insensitive, now we need to know if for some reason your productname column was created with...

  • RE: Help with Trim

    DBA (5/21/2008)


    SELECT len as Length, p.productnumber,p.productID_PK AS ID

    FROM Products P

    WHERE p.Active = '0'

    (p.productname)...

  • RE: Help with Trim

    GSquared (5/21/2008)


    The quick answer is update the table using RTrim.

    update dbo.Table

    set Column = rtrim(Column)

    Since you're using Varchar data type, that will probably do it.

    If it doesn't, the thing to do...

  • RE: Help with Trim

    Can you post an example like noted in the article referenced in my signature? If you are using equality operators you should find the matching products. There may be...

  • RE: Share

    Backing up across the network is not a recommended practice. If this is necessary you need to grant access to the share to the user executing the backup. If you...

  • RE: Help with Trim

    Is your column defined a fixed length (char/nchar) or variable length (varchar/nvarchar)? If fixed length you would be better off to right pad any text out to the length...

  • RE: Insert to vfp tables

    I have never tried to insert into a VFP database, but I would assume (always remembering what assume means) that you could just do something like:

    Insert Into linkedserver.database..table

    ...

Viewing 15 posts - 8,551 through 8,565 (of 9,641 total)