Forum Replies Created

Viewing 15 posts - 376 through 390 (of 455 total)

  • RE: The need to back up system databases?

    i take a backup of master EVERYDAY because there is nothing better than seeing this at 7 am on a workday;

    CHECKDB found 1 allocation errors and 2 consistency errors in...

  • RE: Not able to Access Database

    your login is not synced with the old 2000 DB.

    you can access the 2000 DB by either using you current 2008 sa or any login that is a sysadmin.

    OR

    you can...

  • RE: What to backup on witness ?

    My advise would be don't bother backing up the witness.

    If something ever happened to the witness, it is much quicker and easier to asign a new witness instance and just...

  • RE: Log Shipping not available

    From SSMS

    right click on the database you want to log ship.

    choose Tasks

    choose Ship Transaction Logs...

    If still not there, re-install SSMS with the Management Tools - Complete option checked....

  • RE: Need to loop through DB's

    SQLSeTTeR (10/13/2010)


    Thanks! Insert is failing Let me debug.

    Insert Error: Column name or number of supplied values does not match table definition.

    weird , i added this....

    Create Table #Temp_Users

    (

    Name...

  • RE: Need to loop through DB's

    works perfect for me 😎

  • RE: Need to loop through DB's

    SQLSeTTeR (10/13/2010)


    Excellent, anyway to put the DB names inside the output?

    sure....

    see new script

  • RE: Need to loop through DB's

    See attachment.

    It uses sp_msforeachdb

  • RE: Database mail isn't sent

    I have to respectfully disagree with you.

    you have told me that you know your SQL server can relay properly because you can telnet on port 25 to your local server.

    now...

  • RE: Database mail isn't sent

    Well, imho, i wouldn't.

    Since SQL 2005 and beyond has its own process for sending SMTP mail, I am not sure why you would NEED to relay via your SQL server?...

  • RE: Identity Error

    you cannot insert a value into the identity column. SQL will do that for you.

    use;

    USE Database1;

    INSERT INTO Job_Titles

    (EE0_1_Classification,Job_Title,Job_Description,Exempt_NonExempt_Status)

    VALUES('Office/Clerical','Stocker','Stock supplies','E'),

    ('Sales Worker','Cashier','Accept incoming money','N')

  • RE: Database mail isn't sent

    stakes (10/13/2010)


    I tried it to send mail from the same machine (telnet localhost 25). That works. .

    :hehe: you run mail relay services on your SQL Server????? :hehe:

  • RE: Database mail isn't sent

    that seems to look ok... I have two follow-up questions;

    1. How did you verify that access to the mail relay was good?

    2. Does your SQL Server sit on a...

  • RE: Database mail isn't sent

    what is the output of the Database Mail Log?

  • RE: Database mail isn't sent

    you can check two things that I have had to fix when coming into a new project where DB Mail is not working. (always because it is misconfigured)

    1. Verify that...

Viewing 15 posts - 376 through 390 (of 455 total)