Forum Replies Created

Viewing 15 posts - 361 through 375 (of 608 total)

  • RE: sp_helpuser

    dba_users?

  • RE: Hiding account number

    Thanks Steve...I ended up changing the source data type. It was incorrect/inconsistant with the other tables.

    Thanks again for your help. Happy holidaze..

  • RE: Add to query to show if populated

    lol...awesome thanks craig!

  • RE: Hiding account number

    I get an error:

    Msg 8115, Level 16, State 2, Line 2

    Arithmetic overflow error converting expression to data type int.

    Msg 245, Level 16, State 1, Line 4

    Conversion failed when converting the...

  • RE: Add to query to show if populated

    .. can anyone help me with the syntax?

  • RE: Hiding account number

    awesome thanks andrew!

  • RE: Hiding account number

    Thanks Craig!

  • RE: Wierd one..

    Thanks Grant ....that did it!!!

    THANKS TO EVERYONE THAT HELPED ON THIS THREAD!!

    Good karma to you all..

    If any of you are in s.florida ...I'll buy you a beer....or two..

  • RE: Wierd one..

    for statistics - can I just run exec sp_updatestats?

    not sure if this helps but I created same proc called myproc2...and ran that using same acount number and got the same...

  • RE: Wierd one..

    Not if the next time your run the proc, you use parameters that have better plans with scans... and then all other parameters are better off using seeks.

    I cleared the...

  • RE: Wierd one..

    wouldn't the dbcc freeproccache command clear out the cache

    and therefore clear out any parameter sniffing issue?

  • RE: Wierd one..

    thats the wierd thing there is no redical difference in hardware...

    I've even tried restoring on to my sandbox (small client machine)...using the backup from the night before..and it takes two...

  • RE: Wierd one..

    if this was parameter sniffing .

    wouldn't I see scans in the execution plan?

    I don't see scans...all seeks..the execution plan matches the one in stage which runs fast..

  • RE: Wierd one..

    thanks for all your help

    I haven't tried moving the variables yet...this particular proc has 24 input params and is kind of a bitch...(I didn't write it)... 🙂

  • RE: Wierd one..

    I flushed the cache and re-ran the proc using same parameters..I can't make it run slowly on my stage server...I tried changing params and no matter which I choose it...

Viewing 15 posts - 361 through 375 (of 608 total)