Forum Replies Created

Viewing 15 posts - 1 through 15 (of 67 total)

  • Reply To: Dynamically creating Schema, new user and "Run As" new user

    Ah - I switched to execute as user, and i see better results now.

    Thanks a ton for pointing that out !

    How To Post[/url]

  • Reply To: Updating schema reference automatically in stored Procedures

    Agree. Thankfully this is in the exploratory phase only. For the immediate needs, I am planning to only give individual permissions to select/execute on original dbo tables/SP that i want...

    How To Post[/url]

  • Reply To: Updating schema reference automatically in stored Procedures

    Thanks for the responses guys. For background, we have an application to do some complex calculations on data imported via excel.

    Our users want to also safely try "what if" scenarios...

    How To Post[/url]

  • RE: Parameter Sniffing and Sniffing Memory

    well, we used it mainly for dealing with "Timeouts while executing SP". So far we have modified dozens of SPs (and functions), if not hundreds. It works every single time.

    How To Post[/url]

  • RE: Parameter Sniffing and Sniffing Memory

    Use local variables to hold the values of the passed parameters. And then use the local variables instead of the passed parameters. This has ALWAYS worked for us in our...

    How To Post[/url]

  • RE: Need To Generate XML File

    As Dave mentioned - there is no relationship rule given. So it is not possible to come up with the output that the OP is asking for.

    But I suspect that...

    How To Post[/url]

  • RE: count(*) taking forever... emergency

    Thanks guys. I will read up on that.

    How To Post[/url]

  • RE: count(*) taking forever... emergency

    yup - the nolock is soo much faster...

    How To Post[/url]

  • RE: pivot

    If you took the time to know how to post queries on this forum, you would know ... Its the link in Gianluca's signature. It explains how people should post...

    How To Post[/url]

  • RE: XML Output Question

    Please provide scripts to create sample tables.

    How To Post[/url]

  • RE: T-SQL Help

    Looks like home work, but I will oblige. Have not been here for a long while.

    Please post queries using format in my signature.

    create table #foo(id int, name varchar(200), [state] varchar(90),...

    How To Post[/url]

  • RE: Sigh ... weird issue

    Mr. Magoo,

    It works when I use your check, ABS(SARatio - 1)>=0.01.

    There are no errors reported (which is correct). And yes, the column is a float.

    But I swear I was doing...

    How To Post[/url]

  • RE: Sigh ... weird issue

    Yeah, you did the right test.

    This makes it even more wierd.... I am getting the same result as yours when i run in query analyzer.

    but instead of table object i...

    How To Post[/url]

  • RE: Running update problem

    Here is a sample of the result that I wish to achieve:

    TransferID FromInvestorID ToInvestorID TransferRatio StartingBasis ...

    How To Post[/url]

  • RE: Pivoting a one column table

    If I were you, I would be fixing my app so that it inserts the nulls in the missing columns correctly.

    If I were you, and the above was not possible,...

    How To Post[/url]

Viewing 15 posts - 1 through 15 (of 67 total)