Forum Replies Created

Viewing 15 posts - 1,156 through 1,170 (of 7,429 total)

  • RE: Using Exotic Joins in SQL Part 1

    BETWEEN is purely simpler to read. There is no specific engine enhancements that make BETWEEN any faster.

  • RE: Help in Optimizing a query

    Just FYI the index changes may have had some impact but that much seems like it was possible more of a maintance issue. The problem is you just never know...

  • RE: query query (if u know what i mean!)

    Also, before I forget. Make sure you test on a none production machine, backup the database before actually running, and use a BEGIN TRAN before you run this part

     

    CREATE TABLE...

  • RE: query query (if u know what i mean!)

    First is ACCOUNT_PRODUCT the only table that will have a reference to PRODUCT ?

    If so I suggest something like this.

    CREATE TABLE dbo.Temp_Products (

     PRODUCTID char(2) NOT NULL,

     CODE VARCHAR(30) NOT NULL PRIMARY...

  • RE: Help in Optimizing a query

    I would be curious as well.

  • RE: Query Question

    I agree with Mike's statements. You cannot assume Berger King and Burger King are the same company.

    I have seen on a few occasions that names can look similar for...

  • RE: Scramble Production Data for testing purposes

    A few questions:

    1) How many records are you talking.

    2) Does the data need to be unique on some or all of the columns, which ones?

    If the data doesn't need to...

  • RE: Help in Optimizing a query

    Based on what I see this might help.

    Consider change the indexes on AccountingDocumentitem to

    Clustered Index

      AccountingDocumentNbr, FiscalYearNbr, MSGLCompanyCode

    Non-Clustered Indexes

    1) BillingDocumentNbr, MSAccount2Code

    2) ClearingAccountingDocumentNbr

    3) CustomerNbr

    4) AccountingDocumentItemNbr

    Remember your clustered index is effectively...

  • RE: Primary Key vs IDENTITY Property ????

    The purpose of an IDENTITY property is to create a uniqness to a record that does not have a naturally occurring key or to act as a surrogate in replacing...

  • RE: Help in Optimizing a query

    Does wrkAccountingDocument have any indexes.

    Also, can you post the DDL of the table (CREATE statement) so I can see the structure and let me know which columns if any are...

  • RE: Multiple Transaction log files

    I believe the only reason for it's support is to be able to span multiple logical drives. That is the only reason I have ever seen where you would need...

  • RE: .NET and sp_executesql - 4000 character limit?

    I would suspect yes, but canot find anything on MS site or elsewhere to say 100 percent for sure.

  • RE: DTS job failing

    Take a look in the Windows Event viewer for that time fram under system and application. I suspect you will find an insufficient memory event. Sounds like you tried to...

  • RE: i find a difference between Dts script and i dont know why

    That name sounds like it might be part of package logging found under the package properties. Check there.

  • RE: How to identify particular cusor is open or not

    All cursors whether in your scope or not or just those in your scope, either way I believe there is a system XP or SP for that but don't have...

Viewing 15 posts - 1,156 through 1,170 (of 7,429 total)