Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 1,342 total)

  • RE: Starting jobs from internet

    Is there any chance you can use MTS, because if you can, you can set up MTS impersonation. The users get access to the code in the package from...

  • RE: Check contraint

    This will work a little better:

    
    
    USE TEMPDB
    BEGIN TRAN
    GO
    CREATE TABLE MY_TABLE(
    THE_VALUE_A CHAR(1),
    THE_VALUE_B CHAR(1),
    CONSTRAINT CHK_A_AND_B
    CHECK (NOT(THE_VALUE_A IS NOT NULL AND THE_VALUE_B IS NULL)))

    GO
    /* insert ok */
    INSERT INTO...
  • RE: Backup Debate...

    Am in agreement with the previous two. Backup to disks first. Backup those backups to tape.

    If you use transaction logs, one quirk I have found is that...

  • RE: Local system account vs Domain user

    If you can set up this domain account with an email, it is easy to set up the SQL email system to notify when jobs are complete etc. I...

  • RE: How Frequent Do you Perform Restoration Test

    You could do the restore to the production system but with a different database name. This is hardly ideal, because you will have to be very careful.

    I...

  • RE: Copy Jobs between servers

    I agree. I would script the job onto development. If successful, then script to production. There are a number of stored procedures that must be used to...

  • RE: Deleting Child Data Based Upon Criteria in the Parent Table

    You can use a join statement in a delete, and in this case this statement would have done the trick:

    
    
    DELETE FROM ol
    FROM Orders o
    JOIN OrderLines ol
    ON...
  • RE: Problem showing all records

    quote:


    FROM Precertification INNER JOIN

    PrecertificationDiagnosis ON Precertification.idsPrecertification = PrecertificationDiagnosis.idsPrecertification INNER JOIN

    PrecertificationService ON Precertification.idsPrecertification = PrecertificationService.idsPrecertification INNER JOIN

    CommentsPrecertification ON Precertification.idsPrecertification = CommentsPrecertification.PrecertificationIdx


  • RE: Help needed with a translation

    Es gefaellt mir, dass die Erklaering Ihnen Hilfreich war.

    Ich habe Deutsch seit neun Jahre in der Schule gelernt. Zwei Woche lang als ich funfzehn war, habe ich mit einer...

  • RE: Help needed with a translation

    Weil Sie aus Deuschland sind, denke ich, dass Sie Deutsch koennen ("oe" bedeuted ein "o" mit einem umlaut).

    If you don't understand German, please go to the paragraphs below.

    Das Woert "cute"...

  • RE: Data Referential Integrity - when do you use it?

    We always use RI. I can't imagine not using it.

    We have a third-party application that doesn't use it. We have a lot of problems with it from performance...

  • RE: Retrieving DB from .mdf and .ldf

    By the book you do have to detach the databases to be able to reattach them, but so far I have always been able to attach a database even if...

  • RE: Retrieving DB from .mdf and .ldf

    By rebuilding the master, you can set the appropriate permissions to allow you to attach the databases. Unfortunately you will also need to recreate anything else stored in the...

  • RE: Removing old DBA logins

    Yes, you can delete NT Authentication logins that have been deleted from the domain, because even if they were recreated in the domain, they would have different spid and so...

  • RE: Upgrade to SQL 2000

    Thanks Rita,

    I checked another thread and have found that just because I couldn't restore master doesn't mean the same limitation applies to user databases.

    I'll be trying to attach the master...

Viewing 15 posts - 1,306 through 1,320 (of 1,342 total)