Forum Replies Created

Viewing 15 posts - 2,341 through 2,355 (of 7,504 total)

  • RE: select max len pattern that matches with column

    1) are the spaces ( after % and before the second % ) in your patindex needed ?

    2) I would use datalength(pattern) in stead of len.

  • RE: database mirroring

    This is my ref url for mirroring:

    http://support.microsoft.com/kb/2001270

    monitoring state changes

    http://msdn.microsoft.com/en-us/library/cc966392.aspx

    Follow up is based on these scripts:

    /*

    * DB Mirroring : followup

    *

    */

    /* show mirrored databases and their mirror-state */

    Select db_name(database_id) as...

  • RE: Trouble with DML Trigger

    Like Sean stated, many of us have been bitten by the "single row situation"-design of many triggers.

    You should ( and I don't like to use "always" nor "never") in all...

  • RE: Are the posted questions getting worse?

    did someone mention cheap USB-dr.... :slap:

    but .. but .. :slap-again-harder-and-harder:

    😉

  • RE: Are the posted questions getting worse?

    Craig Farrell (2/11/2011)


    ...On another note, it's 2 in the morning and I'm still watching this job go so that I can get a project up to QA in the morning....

  • RE: Trouble with DML Trigger

    Why all that hassling with varriables ?

    CREATE TRIGGER Trg_CustomerCommand

    ON Customer

    AFTER INSERT

    AS

    BEGIN

    /* please add comment here */

    Insert into Command ([Requested],[TableID],[RecordID],[Command],[RetriesAttempted],[Cancelled],[SentDate],[ACKDate],[ResponseDate],[TimeoutDate],[SecurityUserID],[InterfaceHardwareIdentifierUsed])

    Select DTCreated,'5',TreaterID + LocalID,'0','0','False',NULL,NULL,NULL,NULL,NULL,NULL

    from inserted

    WHERE CloudID IS NULL

    END

  • RE: Trouble with DML Trigger

    Keep in mind "inserted" and "deleted" objects only live _in_ the trigger.

    Meaning, you cannot use that in "regular" tsql.

    objects "inserted" and "deleted" have the same layout as the object you...

  • RE: Database Mail not being sent

    ah, indeed, that is essential.

    thank you for the feedback.

  • RE: Out of process OLEDB provider and windows authentication

    I'm not at the office today, but I'll check it tomorrow.

    It has been a setting where you'd have to add users to a windows db2 group ( it created that...

  • RE: Procedure fails when called from a job

    ChazMan has a good point.

    - Can you post the sproc ddl ?

    - did you schema qualify all objects addressed withing the sproc ?

  • RE: Database Mail not being sent

    double check your sql server errorlog file !

    I use these scripts to troubleshoot dbmail:

    use msdb

    go

    /* is dbmail config activated ? */

    Select *

    from sys.configurations

    where [name] = 'Database Mail XPs'

    go

    exec sysmail_help_queue_sp --...

  • RE: Out of process OLEDB provider and windows authentication

    that auth remark rings a bell.

    If I recall correct our DB2 (udb gateway for z/os) admins granted read on the IBM folder (and subsequent folders) to authenticated users.

  • RE: Are the posted questions getting worse?

    GilaMonster (2/9/2011)


    ALZDBA (2/9/2011)


    GilaMonster (2/9/2011)


    ...

    To put things in context, my desktop (which I'll be using for this) blue screened this morning then, on reboot failed POST repeatedly.

    Am hoping it's a once-off,...

  • RE: Are the posted questions getting worse?

    GilaMonster (2/9/2011)


    ...

    To put things in context, my desktop (which I'll be using for this) blue screened this morning then, on reboot failed POST repeatedly.

    Am hoping it's a once-off, or easy...

  • RE: Performance issue ,PageIOlatch

    aslamnepanagar (2/8/2011)


    Hi All,

    I have also observed the 4 instances(multi instance server) , sqlserver.exe using around 1.7 GB memory.

    They are never crossing 2 GB.

    As mentioned above we are using a 32...

Viewing 15 posts - 2,341 through 2,355 (of 7,504 total)