Forum Replies Created

Viewing 15 posts - 6,661 through 6,675 (of 7,187 total)

  • RE: Search all fields for a particular character

    David

    No, it's because LIKE doesn't work with text data types.  The performance of this isn't going to be good, because none of the searches will be able to use indexes. ...

  • RE: Search all fields for a particular character

    Dave

    Glad you got it working.  Just one more thing.  If you use my method, and any of your tables have text columns, you will need to add the following:

    December 21, 2006 at 6:39 am

    #679394

  • RE: Table Performance

    Raj

    So do you only ever insert one row at a time?  Is it during the insert itself that you experience the poor performance, or during the duplicate checking?

    John

  • RE: Search all fields for a particular character

    David

    You will need to build a script dynamically.  Something like this rough-and-ready effort, which generates a script that returns all rows where at least one of the columns has a...

  • RE: Table Performance

    Raj

    So you're doing this once for every row you're inserting into the table?  Are you using a cursor or a WHILE loop to do that?  I think this is probably...

  • RE: Select list for the insert statement...

    Anchelin

    OK.  Can you please put a PRINT @Query3 statement just before the EXEC command and post the result of that.

    Thanks

    John

  • RE: Select most recent record

    Probably what you need, then, is to create a trigger in the table that checks the time of the previous insert, and if it was less than ten minutes ago,...

  • RE: Select list for the insert statement...

    Anchelin

    How many columns are in the result set when you run sp__DBBackupInfo on the remote server?

    John

  • RE: Table Performance

    Raj

    I'm sorry, I don't know anything about Materialized views in Oracle so I can't advise you on that.

    If you had a unique constraint on CUST_PRODUCT_ID, ATTRIBUTE_ID and DATA then that...

  • RE: Column Alias Problem in Query

    Would this not work?

    SELECT Titleid AS tit FROM title WHERE Titleid=11

    John

  • RE: Select most recent record

    What are the circumstances under which you wish to discard the less recent value?  Is it when it is less than an hour before the previous one?  Or is it...

  • RE: Table Performance

    Raj

    OK.  It looks as if your database design here is not ideal.  There is no primary key constraint on the table.  Is there a column (or combination of columns) that...

  • RE: Select list for the insert statement...

    Anchelin

    Perhaps you ought to include a "USE DBName" statement at the beginning of @Query2.  If that doesn't work, please post the result of this query:

    USE DBName

    SELECT COLUMN_NAME

    FROM INFORMATION_SCHEMA.COLUMNS

    WHERE...

  • RE: Retrieve data from temporary table with dynamic name?

    So you have several temp tables, all with the same structure, but each named according to a user in the database?  My advice would be to normalise your design so...

  • RE: Table Performance

    Raj

    Please will you post the table DDL so that we can see what constraints you have on the data (primary keys and so on).

    Thanks

    John

Viewing 15 posts - 6,661 through 6,675 (of 7,187 total)