Forum Replies Created

Viewing 15 posts - 61 through 75 (of 346 total)

  • RE: Cannot set up replication in SQL 2000 instance

    v2000 umm...

    Have you tried running sql server setup and see if there is an option to add replication to an isnatnce?


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Error with Multi Value Paramater

    the parameters are probably transfered as a csv string.

    so '1,4,2,6'

    x in ('1,4,2,6') where x is an integer will give an error as it tries to convert '1,4,2,6' to an integer.

    You...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Row comparison

    Would have thought with this question it would be quicker for someone with a few minutes to read it as it is rather than look at table structures and test...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: DTA Recommendations

    The index you suggest will be covering for the same queries as the other 3 indexes so should help.

    The real question whether the queries affected need help or would the...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Row comparison

    I would guess from the question

    custid, dte, bal.

    Sample data should be easy to create if you need it.


    Cursors never.
    DTS - only when needed and never to control.

  • RE: TempDB dedication.

    Think what you want is to give i/o priority rather than allocate disk space.

    Also think the answer is no.

    Can you put these on different instances?


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Row comparison

    something like

    select distinct custid

    from

    (

    select custid, baltype, ROW_NUMBER() over (partition by custid, baltype order by dte) as seq

    from

    (select custid, dte, baltype = case when bal >= 0 then 1 else 0...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: compate two table

    SELECT chartnumber, Dataofservices,CPT,Amount FROM TABLE1

    union

    SELECT chartnumber, Dataofservices,CPT,Amount FROM TABLE2

    EXCEPT

    SELECT chartnumber, Dataofservices,CPT,Amount FROM TABLE1

    INTERSECT

    SELECT chartnumber, Dataofservices,CPT,Amount FROM TABLE2


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Ideas about Error 266 "Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0."

    Another option is to not nest transactions. Have a single point of control.

    i.e. only the level that starts the transaction commits or rolls back.


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Zip File

    Get gzip and use xp_cmdshell to execute an os command to do the zipping.

    Could use other zip utilities but I tend to favour gzip.


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Query about Linked Server to Oracle

    Have you tried changing Mutual Authentication Required to No Authentication Required?

    I've had this issue before and got round it somehow. I'll see if I can find the code.

    It might have...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Do you trust Maintenance Plans?

    Nope.

    Mainly because it's easy to write scripts to do it.

    If people use maintenance plans then they tend not to understand what is actually being done and get into trouble when...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: query froom MS Excel 2007--need outer join?

    FROM "001".dbo.imitmidx_sql imitmidx_sql

    left join "001".dbo.edablkfl_sql edablkfl_sql

    on edablkfl_sql.item_num = imitmidx_sql.item_no

    left join "001".dbo.edapkgfl_sql edapkgfl_sql

    on edapkgfl_sql.code = edablkfl_sql.package_code

    left join "001".dbo.iminvloc_sql iminvloc_sql

    on iminvloc_sql.item_no = imitmidx_sql.item_no

    where imitmidx_sql.activity_cd='A'

    AND imitmidx_sql.item_no Not Like '%-FS'...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Help in SQL

    select m.*

    from Main m

    join tbl_filter f

    on f.code = m.code

    and f.centre = m.centre

    where m.code not in (select code from tbl_filter where center is null)


    Cursors never.
    DTS - only when needed and never to control.

Viewing 15 posts - 61 through 75 (of 346 total)