Forum Replies Created

Viewing 15 posts - 2,716 through 2,730 (of 3,232 total)

  • RE: Backup media

    I prefer to backup to disk, then copy to tape or other media.  Having the latest backup on disk will greatly increase your recovery time as you will not have...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: BUILTIN\Administrators - How to tell if nedded

    "How can one investigate beforehand whether deleting the BUILTIN login off the server for security reasons may cause necessary applications logins to be blocked, etc."

     

    Well, first of all you need...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update in Cursor not possible

    OK Jan.  The table DDL will help, but can you post a few lines of sample data from each table along with how you want the data to appear in...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update in Cursor not possible

    Great analogy Joe.  That's an easy way to get set based thinking accross to people.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update in Cursor not possible

    How about your table DDL?  Can you post some sample data and what your data should look like after a sucessful run of your procedure?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: pass sql as parameter to function

    I see no way to do what you are asking.  Since you cannot execute dynamic SQL inside a function, you have no way to return a value based on the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: pass sql as parameter to function

    No function needed.  Even if you decide to put this into a function, you certainly do not need to use a cursor......

    declare @name varchar(4000)

    set @name = ''

    select @Name = @Name...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: pass sql as parameter to function

    Just curious, but can you give an example of how you plan to call/use the function?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: trying to add new login but not seeing other object locations (computers)

    Check the Windows Firewall on your new workstation.  Disable the firewall and try connecting again.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: BCP

    Look up 'format files' in BOL.  The section 'Using Format Files' will tell you how to set up a format file that tells BCP what the fixed length of each...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update help

    UPDATE tbl_leads_queue

    SET lead_status_id  = 7

    WHERE parent_lead_id = @LeadID

        AND partner_id = 19

        AND lead_status_id = 3

        AND convert(varchar,date_sent,101) = convert(varchar, getdate(),101)

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update in Cursor not possible

    Are you saying that you have nested cursors?  I would say that the best way to avoid this problem is to avoid using cursors.  If you post your code, you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Server wont''''s start? urgetn plz

    Sorry to keep bombarding you, but check this out.  You may be able to get back up without repairing/replacing your disk.

     

    http://dis4ea.blogspot.com/2005/07/tempdb-and-missing-device.html

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Server wont''''s start? urgetn plz

    Rebuilding your master database may get you going again.  You may want to look into that option as well.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Server wont''''s start? urgetn plz

    Unless there is some magical way to make SQL Server look for the tempdb in a new location, you are down until you repair/replace the drive.  SQL Server is looking for the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 2,716 through 2,730 (of 3,232 total)