Forum Replies Created

Viewing 15 posts - 7,156 through 7,170 (of 7,480 total)

  • RE: Can I stop this from Table scanning ?

    my 2€ct

    - post ddl ! tables and indexes

    - remove functions from your predicates if you can (they wil...

  • RE: Intermittent Error on SQL Server Agent:[SQLSTATE 42000] (Error 8198))

    there is an issue with using windows-accounts as job-owner.

    I don't know the kb-no by heart. I'll add it if I find it back.

    If I'm correct it was http://support.microsoft.com/?kbid=233161

  • RE: Can some one suggest

    profile, profile, profile and don't forget index-tuning-wizard.

    There has to be a reason for this latency.

    Maybe an other clustering index can help out. Choose it wizely, based upon your usage info.(profiler,...

  • RE: Job to alert

    check smtpmail (http://www.sqldev.net)

    BEGIN TRANSACTION           

      DECLARE @JobID BINARY(16) 

      DECLARE @ReturnCode INT   

      SELECT @ReturnCode = 0    

    IF (SELECT COUNT(*) FROM msdb.dbo.syscategories WHERE name = N'[Uncategorized (Local)]') < 1...

  • RE: Running only one instance of a trigger

    So how would you  determine when it's appropriate to run ?

    Keep in mind you are preforming an in-transaction-operation.

    What you are stating is that with your trigger, all other I/U/D-operations...

  • RE: Rebuilding Clustered Index

    oops ... I interpreted "issue" as "error"

    The degradation because of plan-recompilation is an "issue" which should not be a problem. The rebuild index should be able...

  • RE: SQL Server Backup Schedule, Please help

    you can use dos variables to create your directories (one a day) and the move the bak-files to it.

    I didn't mention it earlier, but you can have sqlserver managing your...

  • RE: Rebuilding Clustered Index

    not that I know of.

    Check "rebuilding an index" in BOL.

  • RE: SQL Server Backup Schedule, Please help

    use backup media.

    backup the db using that media (so you always backup to the same physical directory)

    in the last step of your backup-job, you can move the backupfiles to the...

  • RE: Calling SQL Scripts

    you could use a script that launches them all using xp_cmdshell with isql.

    e.g. exec xp_cmdshell 'isqlw -E -S myserver -d msdb -i "c:\sqlserver$\scripts\onlyonce_1.sql" -o "c:\sqlserver$\scripts\OutPut_onlyonce_1.sql" '

     

  • RE: SQL7 to new server

    If you are only moving to new hardware.

    Install SQLServer exactly as your original server (drives, directorylocations, ..), bring it to the same servicepack as original.

    Now comes the rocket-science: 

  • RE: Why cant my query update a linked table?

    can you post the query ? and the ddl of the used object(s) in sqlserver.

  • RE: left outer join...

    noeld is probably right.

    If you have a sql2k sp3a and a multiprocessor-box, you need a hotfix for the count(*). That could also be a reason.

  • RE: Why does query run so long?

    replace the distinct by a group by and you'll gain more !

    SELECT  Prcs_dte

    INTO #A_Dates

    FROM tbl_Tracking group by Prcs_dte

    SELECT  Prcs_dte

    INTO #B_Dates

    FROM Acct_Stats group by Prcs_dte

     

    Still I'd suggest you'd profile it and...

  • RE: Exporting Database Diagrams to Visio

    sorry for visio

    You can reverse-engineer it from within visio.

    New DatabaseModelDiagram

    database\reverse engineer

     

    (you may have to create and odbc-dsn to get connected)

Viewing 15 posts - 7,156 through 7,170 (of 7,480 total)