Forum Replies Created

Viewing 15 posts - 271 through 285 (of 492 total)

  • RE: SQL Agent Jobs - Go To Step specified

    Yes it can be done, but it's risky and this is not really the place to do loops like this. I would advise you build this sort of process into...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: SA Passwords

    After changing the password, write it down and put it in a safe or save it in an electronic password safe. Then don't use it except for emmergencies. In 17...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Logshipping failure

    It would be good if you posted the error message when the restore fails. Also look in the logs and see what happened 3 weeks ago when it started failing.

    In...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Performance difference between different users calling the same stored procedure?

    MB-400824 (1/25/2011)


    Craig,

    sp_calculations does not make any subcalls. The way I have the proc is that I create the T-SQL on the fly. I try to minimized code maintanence, so, I...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Performance difference between different users calling the same stored procedure?

    MB-400824 (1/24/2011)


    I am opening a query window in Management Studio under each account and the run the same sp with the same parameters, and get different results.

    Do you actually get...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Can anybody give a hand with this?

    Having the table definitions would help, but some of your logic seems a bit odd.

    Based on the way your query is set up, this WHERE Clause is always true: ((@RTSelection...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Copying MDF causes it to become read-only

    By the way this is an issue on SQL 2005. If you detach a file and copy/move it to a new location you lose permission on the file. For this...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: High READS and WRITES number in profiler

    ramadesai108 (1/13/2011)


    Thanks for the articles. So there is no way of knowing whether the object is cached or not. But what I can look for is consistency whether the same...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: High READS and WRITES number in profiler

    ramadesai108 (1/13/2011)


    Hello Leo,

    What do you mean by cache reads and writes. It is misleading.

    Thanks.

    Here are two articles, unfortunately both a bit old that expand on this....

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: High READS and WRITES number in profiler

    ramadesai108 (1/13/2011)


    Hello Leo,

    What do you mean by cache reads and writes. It is misleading.

    Thanks.

    I know, and so is trying to work out what exactly Profiler is...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: 2005 SP4 ready for production?

    We are busy testing it or our clients. I'll let you know when we give it a thumbs up if you want.

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: High READS and WRITES number in profiler

    ramadesai108 (1/13/2011)


    Hello,

    When I see high numbers in READS and WRITES columns in Profiler, what does that mean? How can I improve that?

    Thanks.

    Reducing READS tends to be...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: SELECT N'Testing Connection...'

    You may also want to run this: select * from sysjobhistory

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: SELECT N'Testing Connection...'

    Have you run: SELECT name, job_id from msdb.dbo.sysjobs where name = 'Backup_WebReq_Log' ?

    Possibly check all your SQL Servers

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: SELECT N'Testing Connection...'

    Do you possibly have another server that is running the job?

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

Viewing 15 posts - 271 through 285 (of 492 total)